1
0
Fork 0

Merge remote-tracking branch 'upstream/master' into devel

This commit is contained in:
juju4 2020-04-04 15:21:37 -04:00
commit d140f9d7eb
3 changed files with 13 additions and 2 deletions

View file

@ -1,6 +1,14 @@
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**
- add shell options to syncconf handler to fail fast in case of error

View file

@ -2,7 +2,10 @@
- name: restart wireguard
service:
name: "wg-quick@{{ wireguard_interface }}"
state: restarted
state: "{{ item }}"
loop:
- stopped
- started
when: not wg_syncconf
listen: "reconfigure wireguard"

View file

@ -11,7 +11,7 @@
- name: Install GPG - required to add wireguard key
apt:
name: gpg
name: gnupg
state: present
- name: Add WireGuard key