vm-ansible/host_vars/postgres.yaml

16 lines
380 B
YAML
Raw Normal View History

2022-04-16 19:09:47 +02:00
---
2022-04-16 23:37:46 +02:00
ansible_host: postgres.stargate.internal
2022-04-16 22:59:06 +02:00
servicename: postgres
2022-04-16 19:09:47 +02:00
firewall:
- port: "5432"
proto: tcp
interface: "eth0"
2022-04-16 22:59:06 +02:00
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
2022-04-16 19:55:29 +02:00
...