tasks for backup server
This commit is contained in:
1 parent
90f85fc4f8
commit
7dd899df04
7 files changed
+109
-17
No files matched your search
@@ -0,0 +1,7 @@
|
||||
{% for host in hostvars[inventory_name]['hosts_to_backup'] %}
|
||||
Host {{ host.hostname }}_backup
|
||||
Hostname {{ host.fqdn }}
|
||||
User root
|
||||
IdentityFile ~/.ssh/backup_ed25519
|
||||
IdentitiesOnly yes
|
||||
{% endfor %}
|
||||
Reference in new issue
Block a user