The playbook configures Database Cluster setup for Usegalaxy.it
Ansible >= 2.9
Infrastructure:
Resource | Recommended Images |
---|---|
Database Master VM | RockyLinux 9 |
Replica VM | RockyLinux 9 |
Backup VM | RockyLinux 9 |
ansible-playbook --private-key <path_to_priv_key> -i hosts db_cluster.yml
The playbook db_cluster.yml
imports necessary plays and configures VMs in the next order:
backup.yml
play:
postgres
user;database.yml
play:
replica
user;replica
user;replica.yml
play:
For more detailed information, please refer to the specific plays mentioned above and consult the additional documentation provided below.
PostgreSQL Documentation
usegalaxy-it.postgres-replication Ansible role
usegalaxy-it.postgres-backup Ansible role
PostgreSQL Backup at Usegalaxy.it (documentation)
PostgreSQL Installation at Usegalaxy.it (documentation)