ansible/roles/wireguard_endpoint/templates/interface.j2

8 lines
175 B
Text
Raw Normal View History

2021-03-10 05:44:10 +01:00
{{ ansible_managed | comment }}
auto {{ item.name }}
iface {{ item.name }}
link-type wireguard
pre-up wg setconf $IFACE /etc/wireguard/$IFACE.conf
address {{ item.addr }}