summaryrefslogtreecommitdiff
path: root/roles/tinc/templates/tinc.conf.j2
blob: aa639ab10b90de603f21017756653fd1f0300d00 (plain)
1
2
3
4
5
6
7
8
9
10
11
Name = {{ tinc_options.name }}
{% if tinc_options.listen_on is defined %}
AddressFamily = {{ tinc_options.listen_on }}
{% else %}
AddressFamily = ipv6
{% endif %}
Interface = tn_int
Mode = switch
{% for conn in tinc_options.connections %}
ConnectTo = {{ conn }}
{% endfor %}