Tinc setup

This commit is contained in:
Paul-Henri Froidmont 2018-09-18 04:00:12 +02:00
parent 3bcd961c81
commit e954247db5
20 changed files with 584 additions and 59 deletions

View file

@ -0,0 +1,10 @@
Name = {{ inventory_hostname }}
AddressFamily = ipv4
Interface = {{ vpn_interface }}
Mode = switch
{% for host in play_hosts %}
{% if inventory_hostname != hostvars[host]['inventory_hostname'] %}
ConnectTo = {{ hostvars[host]['inventory_hostname'] }}
{% endif %}
{% endfor %}