ansible-role-tinc/templates/tinc.conf.j2

9 lines
320 B
Plaintext
Raw Normal View History

2020-07-18 21:41:21 +00:00
Name = {{ ansible_hostname | replace('-', '_') }}
2019-11-03 15:27:52 +00:00
{% if (override_os_family is defined) | ternary(override_os_family,ansible_os_family) != 'Darwin' %}
Device = /dev/net/tun
{% endif %}
2020-07-18 21:41:21 +00:00
{% if ansible_hostname | replace('-', '_') != tinc_central_host %}
2019-11-03 15:27:52 +00:00
ConnectTo = {{ tinc_central_host }}
{% endif %}
AddressFamily = any