fix template
This commit is contained in:
parent
4dab6ecdde
commit
e05ab76cb2
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
[Interface]
|
||||
Address = {% for item in wireguard_peers %}{% if item['name'] == inventory_hostname %}{{ item['AllowedIPs'] }}{% endif %}{% endfor %}
|
||||
Address = {% for item in wireguard_peers %}{% if item['name'] == inventory_hostname %}{{ item['AllowedIPs'] }}
|
||||
{% endif %}{% endfor %}
|
||||
PrivateKey = {{ private_key }}
|
||||
ListenPort = {{ listenport }}
|
||||
DNS = {% if vpn_dns is defined %}{{ vpn_dns }}{% else %}{{ server_address }}{% endif %}
|
||||
|
|
Loading…
Reference in a new issue