Merge pull request 'Update 'tasks/postgres_pgpool.yml'' (!1) from tpiccioli-patch-1 into master

Reviewed-on: #1
This commit is contained in:
Andrea Dell'Amico 2021-09-17 23:28:18 +02:00
commit 62059a65f3
1 changed files with 3 additions and 2 deletions

View File

@ -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' ]