vm-ansible/host_vars/postgres.yaml
Torma Kristóf f6a02be7b7
Some checks reported errors
continuous-integration/drone/push Build was killed
firewall stuff
2022-05-29 19:05:33 +02:00

19 lines
438 B
YAML

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