16 lines
380 B
YAML
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
|
|
...
|