Update 'tasks/postgres_pgpool.yml'
This commit is contained in:
parent
d7a98e5ba2
commit
4dbdbb66a7
|
@ -118,7 +118,8 @@
|
|||
- name: Install a script that cleans up the wal log archives
|
||||
template: src=postgresql_wal_backup_and_removal.j2 dest=/usr/local/sbin/postgresql_wal_backup_and_removal owner=root group=root mode=0755
|
||||
|
||||
- name: Install a cron job to cleanup the wal log archives
|
||||
cron: name="Clean up the postgresql WAL log archives" user=postgres job="/usr/local/sbin/postgresql_wal_backup_and_removal > {{ psql_log_dir }}/wal_removal.log 2>&1" special_time=daily
|
||||
# The script is started by the backup server after the file copy, crontab action must be deleted
|
||||
#- name: Install a cron job to cleanup the wal log archives
|
||||
# cron: name="Clean up the postgresql WAL log archives" user=postgres job="/usr/local/sbin/postgresql_wal_backup_and_removal > {{ psql_log_dir }}/wal_removal.log 2>&1" special_time=daily
|
||||
|
||||
tags: [ 'postgresql', 'postgres', 'pgpool' ]
|
||||
|
|
Loading…
Reference in New Issue