Adjust backup excludes to be more right.

This commit is contained in:
Kevin Fenzi 2014-01-31 16:10:47 +00:00
parent 274d7993ce
commit 8baa7720e7

View file

@ -25,6 +25,6 @@
when: global_backup_targets is defined
- name: run rdiff-backup hitting all the host targets
local_action: "shell rdiff-backup --exclude='git-seed*.xz' --exclude='git_seed'--exclude='**.snapshot' --create-full-path --print-statistics {{ inventory_hostname }}::{{ item }} /fedora_backups/{{ inventory_hostname }}/`basename {{ item }}` | mail -r sysadmin-backup-members@fedoraproject.org -s 'rdiff-backup: {{ inventory_hostname }}:{{ item }}' sysadmin-backup-members@fedoraproject.org"
local_action: "shell rdiff-backup --exclude='**git-seed*' --exclude='**git_seed' --exclude='**.snapshot' --create-full-path --print-statistics {{ inventory_hostname }}::{{ item }} /fedora_backups/{{ inventory_hostname }}/`basename {{ item }}` | mail -r sysadmin-backup-members@fedoraproject.org -s 'rdiff-backup: {{ inventory_hostname }}:{{ item }}' sysadmin-backup-members@fedoraproject.org"
with_items: host_backup_targets
when: host_backup_targets is defined