examples/ansible-postgres
2025-03-10 05:15:00 +02:00
..
create_vms.sh added ansible postgres example 2025-03-10 05:15:00 +02:00
deploy_postgres.yaml added ansible postgres example 2025-03-10 05:15:00 +02:00
README.md added ansible postgres example 2025-03-10 05:15:00 +02:00

Ansible PostgreSQL example

This example will deploy two nodes: a writer in the US and a reader in Canada.

Steps

To create VMs, run:

./create_vms.sh

After that, deploy the ansible playbook by running:

ansible-playbook -i tmp/inventory.ini deploy_postgres.yaml

You can inspect the VMs that got created by running:

detee-cli vm list