homelab/ansible/playbooks/database.yml
vincent 5f105ae8e9
Some checks failed
continuous-integration/drone/push Build is failing
style: fix yaml
2022-11-29 21:23:44 +01:00

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 }}"