library/roles/postgresql/tasks/postgresql-backup.yml: Add the pg_db tag to the relevant backup tasks.

This commit is contained in:
Andrea Dell'Amico 2017-04-14 18:27:32 +02:00
parent a98982ccda
commit ee949621e9
1 changed files with 2 additions and 2 deletions

View File

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