2025-12-20 21:01:23 +01:00
|
|
|
Name = {{ ansible_facts['hostname'] | replace('-', '_') }}
|
|
|
|
|
{% if (override_os_family is defined) | ternary(override_os_family,ansible_facts['os_family']) != 'Darwin' %}
|
2019-11-03 16:27:52 +01:00
|
|
|
Device = /dev/net/tun
|
2025-12-20 21:01:23 +01:00
|
|
|
{% elif ternary(override_os_family,ansible_facts['os_family']) == 'Darwin' %}
|
2021-03-21 12:24:22 +01:00
|
|
|
DeviceType = utun
|
2019-11-03 16:27:52 +01:00
|
|
|
{% endif %}
|
2025-12-20 21:01:23 +01:00
|
|
|
{% if ansible_facts['hostname'] | replace('-', '_') != tinc_central_host %}
|
2019-11-03 16:27:52 +01:00
|
|
|
ConnectTo = {{ tinc_central_host }}
|
|
|
|
|
{% endif %}
|
|
|
|
|
AddressFamily = any
|