11 lines
207 B
Text
11 lines
207 B
Text
|
# {{ 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 %}
|