vm-ansible/host_vars/postgres.yaml

19 lines
438 B
YAML
Raw Normal View History

2022-04-16 19:09:47 +02:00
---
2022-05-04 13:59:01 +02:00
ansible_host: postgres.intra.tormakris.dev
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-05-29 19:05:33 +02:00
- port: "9187"
proto: tcp
interface: "eth0"
2022-04-16 22:59:06 +02:00
backup:
folder: "/var/lib/postgresql/backup"
tarfolder: "backup"
2022-05-04 13:59:01 +02:00
host: backup.intra.tormakris.dev
2022-04-16 22:59:06 +02:00
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
...