mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-05 22:54:01 +02:00
WireGuard: disable SaveConfig, update-users fix (#985)
- Disables SaveConfig. SaveConfig totally breaks the idea of configuration management and it breaks update-users - WireGuard update-users fix. Mentioned in https://github.com/trailofbits/algo/issues/980#issuecomment-393720561
This commit is contained in:
parent
d7bce68738
commit
ffb5a1f737
2 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,7 @@ Address = {{ wireguard_network_ipv4['subnet'] }}/{{ wireguard_network_ipv4['pref
|
|||
|
||||
ListenPort = {{ wireguard_port }}
|
||||
PrivateKey = {{ lookup('file', wireguard_config_path + '/private/' + IP_subject_alt_name) }}
|
||||
SaveConfig = true
|
||||
SaveConfig = false
|
||||
Table = off
|
||||
|
||||
{% for u in users %}
|
||||
|
|
|
@ -55,6 +55,7 @@
|
|||
|
||||
roles:
|
||||
- { role: ssh_tunneling, tags: always, when: ssh_tunneling_enabled is defined and ssh_tunneling_enabled == "y" }
|
||||
- { role: wireguard, tags: [ 'vpn', 'wireguard' ], when: wireguard_enabled }
|
||||
- { role: vpn }
|
||||
|
||||
post_tasks:
|
||||
|
|
Loading…
Add table
Reference in a new issue