aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-08-07 21:14:12 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-08-07 21:22:51 +0200
commit643b8508022f3e4806e5a736cef6e65206d62ad7 (patch)
tree5b49ff00a767abbebf883202c5b5386a43bb4227
parentwireguard: don't forget to enable the wg-quick service (diff)
downloadinfra-ansible-643b8508022f3e4806e5a736cef6e65206d62ad7.tar.gz
infra-ansible-643b8508022f3e4806e5a736cef6e65206d62ad7.zip
wireguard: explicitly set SaveConfig=false
-rw-r--r--roles/wireguard/templates/wg0.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/wireguard/templates/wg0.conf b/roles/wireguard/templates/wg0.conf
index c6d94a1..6e479a6 100644
--- a/roles/wireguard/templates/wg0.conf
+++ b/roles/wireguard/templates/wg0.conf
@@ -2,6 +2,7 @@
PrivateKey = {{ wg_private_key }}
Address = {{ wg_addr4 }}, {{ wg_addr6 }}
ListenPort = {{ wg_listen_port }}
+SaveConfig = false
{% if wg_peers is defined %}
{% for peer in wg_peers %}