Remove old roles and fix idempotency issues

This commit is contained in:
Paul-Henri Froidmont 2018-09-26 19:24:36 +02:00
parent f468fd3e34
commit 92be60ad51
85 changed files with 38 additions and 5890 deletions

View file

@ -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 %}