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