From a4b9d24fc0c1ad2b39b3a696af2f66909a358a6e Mon Sep 17 00:00:00 2001 From: Rene Mewissen Date: Wed, 9 Apr 2025 10:19:13 +0200 Subject: [PATCH] comment syntax --- roles/backup/templates/backup_remote.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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