rearranging vars

This commit is contained in:
2025-04-09 10:09:42 +02:00
parent d4b313da76
commit 6ac9172f67
3 changed files with 39 additions and 1 deletions

View File

@@ -1,3 +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 %}