This role is written for internal use by Awesto and not designed to cover more general use-cases. You probably do not want to use it.
None.
postgres_version
: the version of PostgreSQL to use.
postgres_backup_retention_time
: how long to keep backups in
/var/local/backups
. Specify the value in tmpreaper syntax. Defaults to '30d'
.
postgres_databases
: a list of mappings such as this:
- postgres_databases:
- database: mydb
username: myuser
password: secret
None.
- hosts: dbservers
roles:
- postgres
vars:
- postgres_version: 9.6
- postgres_databases:
- database: mydb
username: myuser
password: secret
- postgres_backup_retention_time: 60d
BSD
René Fleschenberg [email protected]