Files
ansible-pull/roles/backup/templates/backup_remote.j2
2025-04-09 10:19:13 +02:00

4 lines
240 B
Django/Jinja

{#{% 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 %}