rearranging vars
This commit is contained in:
@@ -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 %}
|
||||
Reference in New Issue
Block a user