From ee949621e92a69e90622521c98fa794e26cf37ca Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 14 Apr 2017 18:27:32 +0200 Subject: [PATCH] library/roles/postgresql/tasks/postgresql-backup.yml: Add the pg_db tag to the relevant backup tasks. --- postgresql/tasks/postgresql-backup.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/postgresql/tasks/postgresql-backup.yml b/postgresql/tasks/postgresql-backup.yml index 9210352b..690409f8 100644 --- a/postgresql/tasks/postgresql-backup.yml +++ b/postgresql/tasks/postgresql-backup.yml @@ -9,7 +9,7 @@ - name: postgresql backup defaults template: src=pg_backup-default.j2 dest=/etc/default/pg_backup owner=root mode=0744 - tags: [ 'pg_backup', 'postgresql', 'postgres' ] + tags: [ 'pg_backup', 'postgresql', 'postgres', 'pg_db' ] - name: Create the postgresql backups data directory file: dest={{ pg_backup_destdir }} owner=postgres group=postgres mode=700 recurse=yes state=directory @@ -25,4 +25,4 @@ - name: authorization file for the psql command template: src=pgpass.j2 dest={{ pg_backup_pass_file }} owner=root mode=0600 - tags: [ 'pg_backup', 'postgresql', 'postgres', 'pgpass' ] + tags: [ 'pg_backup', 'postgresql', 'postgres', 'pgpass', 'pg_db' ]