create backup config dynamically
This commit is contained in:
1 parent
69ccca721f
commit
e4116f9f94
2 files changed
+8
No files matched your search
@@ -0,0 +1,3 @@
|
||||
{% for host in hostvars[inventory_hostname]['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