#
templates:
- - "templates/postgres.template.yml"
+ - "templates/postgres.13.template.yml"
- "templates/redis.template.yml"
# any extra arguments for Docker?
cmd: su - postgres -c 'psql discourse'
raise_on_fail: false
+ - file:
+ path: /var/spool/cron/crontabs/postgres
+ contents: |
+ # m h dom mon dow command
+ # MAILTO=?
+ 0 4 * * * /var/lib/postgresql/take-database-backup