Use '{{ ansible_managed | comment }}'

This commit is contained in:
jeltz 2021-03-10 05:44:10 +01:00
parent 1d4e03d521
commit 94c49143ac
3 changed files with 3 additions and 4 deletions

View file

@ -1,7 +1,6 @@
# {{ ansible_managed }} {{ ansible_managed | comment }}
auto {{ item.name }} auto {{ item.name }}
iface {{ item.name }} iface {{ item.name }}
link-type wireguard link-type wireguard
pre-up wg setconf $IFACE /etc/wireguard/$IFACE.conf pre-up wg setconf $IFACE /etc/wireguard/$IFACE.conf

View file

@ -1,4 +1,4 @@
# {{ ansible_managed }} {{ ansible_managed | comment }}
net.ipv4.ip_forward=1 net.ipv4.ip_forward=1
net.ipv6.conf.all.forwarding=1 net.ipv6.conf.all.forwarding=1

View file

@ -1,4 +1,4 @@
# {{ ansible_managed }} {{ ansible_managed | comment }}
[Interface] [Interface]
PrivateKey = {{ item.private_key }} PrivateKey = {{ item.private_key }}