10 lines
207 B
Django/Jinja
10 lines
207 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
auto {{ item.name }}
|
|
|
|
iface {{ item.name }}
|
|
link-type wireguard
|
|
pre-up wg setconf $IFACE /etc/wireguard/$IFACE.conf
|
|
{% for addr in item.addrs %}
|
|
address {{ addr }}
|
|
{% endfor %}
|