Jakub Sokołowski bbdb294e3d
databases: use initdb folder to create DBs and users
This way when the database is cleared the user is automatically created
without the need to run Ansible.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-21 16:14:28 +01:00

23 lines
407 B
YAML

---
- import_tasks: config.yml
- import_tasks: start.yml
when: postgres_ha_is_master
- import_tasks: hba.yml
when: postgres_ha_is_master
- import_tasks: users.yml
when: postgres_ha_is_master
- import_tasks: replica.yml
when: not postgres_ha_is_master
- import_tasks: start.yml
when: not postgres_ha_is_master
- import_tasks: consul.yml
- import_tasks: backup.yml
when: postgres_ha_backup