diff options
author | uvok cheetah | 2025-02-09 17:57:14 +0100 |
---|---|---|
committer | uvok cheetah | 2025-02-09 17:57:14 +0100 |
commit | a3ee42d1dde090c5baad512ff8707f7e2c068433 (patch) | |
tree | a619ef2f51c548a235b188cac19c7cf337686424 /roles/tinc/templates/tinc.conf.j2 | |
parent | bb989a2148686d1eb4f49b5aa2597c5162436196 (diff) |
Diffstat (limited to 'roles/tinc/templates/tinc.conf.j2')
-rw-r--r-- | roles/tinc/templates/tinc.conf.j2 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/tinc/templates/tinc.conf.j2 b/roles/tinc/templates/tinc.conf.j2 index b7011e1..aa639ab 100644 --- a/roles/tinc/templates/tinc.conf.j2 +++ b/roles/tinc/templates/tinc.conf.j2 @@ -1,11 +1,11 @@ -Name = {{ tinc.name }} -{% if tinc.listen_on is defined %} -AddressFamily = {{ tinc.listen_on }} +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.connections %} +{% for conn in tinc_options.connections %} ConnectTo = {{ conn }} {% endfor %} |