2022-06-19 10:38:23 +00:00
|
|
|
---
|
|
|
|
- hosts: database
|
|
|
|
vars:
|
|
|
|
# certbot_force: true
|
|
|
|
roles:
|
|
|
|
- role: ansible-role-postgresql
|
|
|
|
become: true
|
2022-10-23 15:31:08 +00:00
|
|
|
tasks:
|
|
|
|
- name: add pg_read_all_data to dump
|
|
|
|
community.postgresql.postgresql_membership:
|
|
|
|
target_roles:
|
|
|
|
- dump
|
|
|
|
groups:
|
|
|
|
- pg_read_all_data
|
|
|
|
become: true
|
|
|
|
become_user: "{{ postgresql_user }}"
|