Deploy HA-Cluster PostgreSQL:
- HAProxy
- etcd
- Patroni
- PostgreSQL
ansible-playbook ha-cluster.yml -i hosts/inventory.ini -e "ansible_ssh_pass=$(rootPassword)" -e "ansible_become_pass=$(rootPassword)" -e "postgres_root_pass=$(postgres_root_pass)" -e "target=all"
ansible-playbook ha-cluster.yml -i hosts/inventory.ini -e "ansible_ssh_pass=$(rootPassword)" -e "ansible_become_pass=$(rootPassword)" -e "postgres_root_pass=$(postgres_root_pass)" -e "target=all" --tags "haproxy"