ansible-on-prem/playbooks/deploy-postgres.yml

16 lines
364 B
YAML

---
- name: Deploy PostgreSQL container
hosts: db1
become: true
roles:
- role: services/postgres
- role: services/postgres
vars:
directory: "pg-dev"
container_name: "postgres-dev"
port: 4000
- role: services/postgres
vars:
directory: "pg-beta"
container_name: "postgres-beta"
port: 4001