fix template

This commit is contained in:
Antonio J. Delgado 2022-11-04 18:08:06 +02:00
parent e3831cd2a9
commit e1c652eb5c

View file

@ -1,5 +1,5 @@
[Interface] [Interface]
Address = {% for item in wireguard_peers %}{% if item['name'] == inventory_hostname %}}{{ item['AllowedIPs'] }} Address = {% for item in wireguard_peers %}{% if item['name'] == inventory_hostname %}{{ item['AllowedIPs'] }}
{% endif %}{% endfor %} {% endif %}{% endfor %}
PrivateKey = {{ private_key }} PrivateKey = {{ private_key }}
ListenPort = {{ listenport }} ListenPort = {{ listenport }}