.. | ||
create_vms.sh | ||
deploy_postgres.yaml | ||
README.md |
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