honor wireguard_save_config value (#149)
* honor wireguard_save_config value * update CHANGELOG
This commit is contained in:
parent
d0df49bbfa
commit
2b3c878715
2 changed files with 5 additions and 1 deletions
|
@ -5,6 +5,10 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||
|
||||
# Changelog
|
||||
|
||||
## 9.0.1
|
||||
|
||||
- FIX: The template rendering the WireGuard configuration only checked if `wireguard_save_config` was set and if so sets `SaveConfig = true`. So setting `wireguard_save_config: "false"` had no effect.
|
||||
|
||||
## 9.0.0
|
||||
|
||||
- set minimally required Ansible version to `2.9` (contribution by @8ware)
|
||||
|
|
|
@ -42,7 +42,7 @@ PostDown = {{ wg_postdown }}
|
|||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if wireguard_save_config is defined %}
|
||||
SaveConfig = true
|
||||
SaveConfig = {{ wireguard_save_config }}
|
||||
{% endif %}
|
||||
{% for host in ansible_play_hosts %}
|
||||
{% if host != inventory_hostname %}
|
||||
|
|
Loading…
Reference in a new issue