mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Remove old roles and fix idempotency issues
This commit is contained in:
parent
f468fd3e34
commit
92be60ad51
85 changed files with 38 additions and 5890 deletions
|
|
@ -2,7 +2,7 @@ Name = {{ inventory_hostname }}
|
|||
AddressFamily = ipv4
|
||||
Interface = {{ vpn_interface }}
|
||||
Mode = switch
|
||||
{% for host in play_hosts %}
|
||||
{% for host in play_hosts | sort %}
|
||||
{% if inventory_hostname != hostvars[host]['inventory_hostname'] %}
|
||||
ConnectTo = {{ hostvars[host]['inventory_hostname'] }}
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue