vm-ansible/host_vars/postgres.yaml
2022-04-16 23:37:46 +02:00

16 lines
380 B
YAML

---
ansible_host: postgres.stargate.internal
servicename: postgres
firewall:
- port: "5432"
proto: tcp
interface: "eth0"
backup:
folder: "/var/lib/postgresql/backup"
tarfolder: "backup"
host: backup.stargate.internal
internal: true
prearecommand: "time ( sudo -u postgres pg_dumpall > /var/lib/postgresql/backup/postgres.sql )"
basedir: /mnt/backupstore
...