Try and actually run it.

This commit is contained in:
Kevin Fenzi 2013-07-23 18:00:18 +00:00
parent c398ba988e
commit 5cf6b38f94

View file

@ -20,11 +20,11 @@
tasks:
- name: run rdiff-backup hitting all the global targets
local_action: "shell echo rdiff-backup ${inventory_hostname}::${item} /fedora_backups/${inventory_hostname}/`basename ${item}`"
local_action: "shell rdiff-backup ${inventory_hostname}::${item} /fedora_backups/${inventory_hostname}/`basename ${item}`"
with_items: $global_backup_targets
when: global_backup_targets is defined
- name: run rdiff-backup hitting all the host targets
local_action: "shell echo rdiff-backup ${inventory_hostname}::${item} /fedora_backups/${inventory_hostname}/`basename ${item}`"
local_action: "shell rdiff-backup ${inventory_hostname}::${item} /fedora_backups/${inventory_hostname}/`basename ${item}`"
with_items: $host_backup_targets
when: host_backup_targets is defined