Merge pull request 'Update 'tasks/postgres_pgpool.yml'' (!1) from tpiccioli-patch-1 into master
Reviewed-on: ISTI-ansible-roles/ansible-role-postgresql-pgpool#1
This commit is contained in:
commit
62059a65f3
|
@ -118,7 +118,8 @@
|
||||||
- name: Install a script that cleans up the wal log archives
|
- 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
|
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
|
# The script is started by the backup server after the file copy, crontab action must be deleted
|
||||||
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
|
#- 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' ]
|
tags: [ 'postgresql', 'postgres', 'pgpool' ]
|
||||||
|
|
Loading…
Reference in New Issue