diff --git a/roles/backup/templates/backup_remote.j2 b/roles/backup/templates/backup_remote.j2 index b059a2d..ccbc374 100644 --- a/roles/backup/templates/backup_remote.j2 +++ b/roles/backup/templates/backup_remote.j2 @@ -1,4 +1,4 @@ -#{% for host in hostvars[inventory_hostname]['hosts_to_backup'] %} +{#{% for host in hostvars[inventory_hostname]['hosts_to_backup'] %}#} {% for host in hosts_to_backup %} {{ host.hostname }};/opt/backup/config/{{ host.hostname }}_includes.txt;/opt/backup/config/{{ host.hostname }}_excludes.txt {% endfor %} \ No newline at end of file