17 lines
364 B
YAML
17 lines
364 B
YAML
---
|
|
- hosts: database
|
|
vars:
|
|
# certbot_force: true
|
|
roles:
|
|
- role: ansible-role-postgresql
|
|
become: true
|
|
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 }}"
|