Merge remote-tracking branch 'upstream/master' into devel
This commit is contained in:
commit
d140f9d7eb
|
@ -1,6 +1,14 @@
|
||||||
Changelog
|
Changelog
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
**6.0.3**
|
||||||
|
|
||||||
|
- If `wg syncconf` command is not available do stop/start service instead of restart (contribution by @cristichiru)
|
||||||
|
|
||||||
|
**6.0.2**
|
||||||
|
|
||||||
|
- Debian: install `gnupg` package instead of `gpg`. (contribution by @zinefer)
|
||||||
|
|
||||||
**6.0.1**
|
**6.0.1**
|
||||||
|
|
||||||
- add shell options to syncconf handler to fail fast in case of error
|
- add shell options to syncconf handler to fail fast in case of error
|
||||||
|
|
|
@ -2,7 +2,10 @@
|
||||||
- name: restart wireguard
|
- name: restart wireguard
|
||||||
service:
|
service:
|
||||||
name: "wg-quick@{{ wireguard_interface }}"
|
name: "wg-quick@{{ wireguard_interface }}"
|
||||||
state: restarted
|
state: "{{ item }}"
|
||||||
|
loop:
|
||||||
|
- stopped
|
||||||
|
- started
|
||||||
when: not wg_syncconf
|
when: not wg_syncconf
|
||||||
listen: "reconfigure wireguard"
|
listen: "reconfigure wireguard"
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
- name: Install GPG - required to add wireguard key
|
- name: Install GPG - required to add wireguard key
|
||||||
apt:
|
apt:
|
||||||
name: gpg
|
name: gnupg
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Add WireGuard key
|
- name: Add WireGuard key
|
||||||
|
|
Reference in a new issue