diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-07 21:14:12 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-07 21:22:51 +0200 |
commit | 643b8508022f3e4806e5a736cef6e65206d62ad7 (patch) | |
tree | 5b49ff00a767abbebf883202c5b5386a43bb4227 /roles | |
parent | wireguard: don't forget to enable the wg-quick service (diff) | |
download | infra-ansible-643b8508022f3e4806e5a736cef6e65206d62ad7.tar.gz infra-ansible-643b8508022f3e4806e5a736cef6e65206d62ad7.zip |
wireguard: explicitly set SaveConfig=false
Diffstat (limited to '')
-rw-r--r-- | roles/wireguard/templates/wg0.conf | 1 |
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 %} |