11 lines
407 B
Django/Jinja
11 lines
407 B
Django/Jinja
Name = {{ ansible_hostname | replace('-', '_') }}
|
|
{% if (override_os_family is defined) | ternary(override_os_family,ansible_os_family) != 'Darwin' %}
|
|
Device = /dev/net/tun
|
|
{% elif ternary(override_os_family,ansible_os_family) == 'Darwin' %}
|
|
DeviceType = utun
|
|
{% endif %}
|
|
{% if ansible_hostname | replace('-', '_') != tinc_central_host %}
|
|
ConnectTo = {{ tinc_central_host }}
|
|
{% endif %}
|
|
AddressFamily = any
|