Hi i have written this ansible with https://github/sudoix together https://github.com/imanbakhtiari/postgres-ansible.git This ansible needs 5 virtual machine in 3 of them it install postgresql with patroni replication and in two of them it install haproxy and keepalived finally it became so stable idea for database with a SQL and also etcd NOSQL
with this single command ansible-playbook -i inventory/db-servers.ini postgres.yml --become --become-method=sudo --tags "preinstall,postgres,haproxy" --ask-become-pass i just want to share this with others and your community and also i am living in Iran right now and eager to accept job offer for emigration or any job recommendations Here is my resume https://gitea.com/imanbakhtiari/resume Thank you