diff --git a/tasks/postgres_pgpool.yml b/tasks/postgres_pgpool.yml index beb41be..2957159 100644 --- a/tasks/postgres_pgpool.yml +++ b/tasks/postgres_pgpool.yml @@ -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' ]