From a7ada33e73475437b14ec616a9ca1c38cf2f4071 Mon Sep 17 00:00:00 2001 From: James Kiefer Date: Wed, 18 Mar 2020 13:12:19 -0600 Subject: [PATCH 1/4] Bugfix: Install gnupg instead of gpg for debian (#43) --- tasks/setup-debian.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/setup-debian.yml b/tasks/setup-debian.yml index 59fe6a4..48a94dc 100644 --- a/tasks/setup-debian.yml +++ b/tasks/setup-debian.yml @@ -11,7 +11,7 @@ - name: Install GPG - required to add wireguard key apt: - name: gpg + name: gnupg state: present - name: Add WireGuard key From 43ad9a1cfed668841304ad5728b45a77f83e4e11 Mon Sep 17 00:00:00 2001 From: Robert Wimmer <2039811+githubixx@users.noreply.github.com> Date: Wed, 18 Mar 2020 20:18:02 +0100 Subject: [PATCH 2/4] add changes for version 6.0.2 (#44) Co-authored-by: githubixx --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 77c1d98..8983853 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ Changelog --------- +**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 From 6348c4819322a767a1f3b4a1a5d3d23268760594 Mon Sep 17 00:00:00 2001 From: Cristian Chiru Date: Fri, 3 Apr 2020 21:59:32 +0300 Subject: [PATCH 3/4] Forcing stop and start to clear routes (#46) --- handlers/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/handlers/main.yml b/handlers/main.yml index 7d6b6e8..3476576 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -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" From 9be9694553c2003148c207d595f5255b71ab3832 Mon Sep 17 00:00:00 2001 From: Robert Wimmer <2039811+githubixx@users.noreply.github.com> Date: Fri, 3 Apr 2020 21:03:23 +0200 Subject: [PATCH 4/4] update README (version 6.0.3) (#47) Co-authored-by: githubixx --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8983853..b0ac6ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ 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)