Skip to content

Commit 8a777df

Browse files
authored
19.1.0 (#233)
* Molecule: use githubixx Vagrant boxes / change IPs * update meta/main.yml: Remove EL 7/8, Fedora 39/40, Ubuntu 20.04 (focal) / add Debian 13 (trixie) * update README/CHANGELOG
1 parent a0d1d4b commit 8a777df

4 files changed

Lines changed: 168 additions & 120 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ SPDX-License-Identifier: GPL-3.0-or-later
55

66
# Changelog
77

8+
## 19.1.0
9+
10+
- **OTHER**
11+
- update `meta/main.yml`:
12+
- remove EL 7/8, Fedora 39/40, Ubuntu 20.04 (focal)
13+
- add Debian 13 (trixie), Fedora 43
14+
15+
- **MOLECULE**
16+
- use own [githubixx Vagrant boxes](https://portal.cloud.hashicorp.com/vagrant/discover/githubixx) where possible
17+
818
## 19.0.0
919

1020
- **POTENTIALLY BREAKING**

README.md

Lines changed: 15 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,21 @@ This role should work with:
1919
- Ubuntu 22.04 (Jammy Jellyfish)
2020
- Ubuntu 24.04 (Noble Numbat)
2121
- Archlinux
22-
- Debian 11 (Bullseye)
2322
- Debian 12 (Bookworm)
2423
- Debian 13 (Trixie)
2524
- Fedora 42
25+
- Fedora 43
2626
- AlmaLinux 9
27+
- AlmaLinux 10
2728
- Rocky Linux 9
28-
- openSUSE Leap
29+
- Rocky Linux 10
30+
- openSUSE Leap 15.6
31+
- openSUSE Leap 16.0
2932
- Oracle Linux 9
3033

3134
### Linux - Best effort
3235

36+
- Debian 11 (Bullseye)
3337
- AlmaLinux 8
3438
- Rocky Linux 8
3539
- elementary OS 6
@@ -68,59 +72,23 @@ See full [CHANGELOG.md](https://github.com/githubixx/ansible-role-wireguard/blob
6872

6973
**Recent changes:**
7074

71-
## 19.0.0
72-
73-
- **POTENTIALLY BREAKING**
74-
- treat empty `wireguard_endpoint` as "no endpoint" (no hostname fallback). New behavior: if a peer explicitly sets `wireguard_endpoint: ""`, the template will not fall back to `inventory_hostname` for `Endpoint = ...` anymore. Instead it emits a comment `no endpoint…`. This is a behavior change, but it aligns with the documented contract in `README`: "setting wireguard_endpoint to an empty string means 'this peer has no endpoint'". Practically, it fixes a real bug: because `wireguard_port` is always defined via role defaults, the old logic almost always took the `wireguard_port is defined` branch and would generate `Endpoint = <inventory_hostname>:51820` even when `wireguard_endpoint: ""`. That contradicts `README` and breaks setups where inventory hostnames aren’t resolvable from peers. Who is affected? Only users who were (intentionally or accidentally) relying on the old incorrect behavior where `wireguard_endpoint: ""` still produced an endpoint via hostname fallback. Those users should instead omit `wireguard_endpoint` (to get hostname fallback) or set it to a real hostname/IP. Implemented in [fix(template): prevent hostname fallback when wireguard_endpoint is empty](https://github.com/githubixx/ansible-role-wireguard/pull/228) (contribution by @madic-creates) and [Netplan: treat empty wireguard_endpoint as - no endpoint - (no hostname fallback)](https://github.com/githubixx/ansible-role-wireguard/pull/230)
75-
76-
- **MOLECULE**
77-
- add Molecule scenario for `wireguard_endpoint` is set to empty [#231](https://github.com/githubixx/ansible-role-wireguard/pull/231)
78-
79-
## 18.3.0
75+
## 19.1.0
8076

8177
- **OTHER**
82-
- Fix for modern PVE installations ([PR #226](https://github.com/githubixx/ansible-role-wireguard/pull/226) - contribution by @pavlozt)
83-
- replace injected `ansible_*` facts usage with `ansible_facts[...]` (prepares for ansible-core 2.24 where `INJECT_FACTS_AS_VARS` default changes)
84-
85-
- **FEATURE**
86-
- optionally flush handlers at the end of the role via `wireguard_flush_handlers` ([Issue #124](https://github.com/githubixx/ansible-role-wireguard/issues/124))
78+
- update `meta/main.yml`:
79+
- remove EL 7/8, Fedora 39/40, Ubuntu 20.04 (focal)
80+
- add Debian 13 (trixie), Fedora 43
8781

8882
- **MOLECULE**
89-
- replace Vagrant box `alvistack/debian-13` -> `cloud-image/debian-13`
90-
- replace Vagrant box `opensuse/Leap-15.6.x86_64` -> `alvistack/opensuse-leap-15.6`
91-
92-
## 18.2.0
83+
- use own [githubixx Vagrant boxes](https://portal.cloud.hashicorp.com/vagrant/discover/githubixx) where possible
9384

94-
- **FEATURE**
95-
- add a spoke mode for nodes that should only peer with the hub while keeping the default full-mesh behavior unchanged. See `wireguard_as_spoke` variable and Molecule [spoke-hub](https://github.com/githubixx/ansible-role-wireguard/tree/b85f5842831a02044bd45f0554b9e810688b9148/molecule/spoke-hub) example ([PR #222](https://github.com/githubixx/ansible-role-wireguard/pull/222) - contribution by @eyebrowkang).
96-
97-
## 18.1.0
85+
## 19.0.0
9886

99-
- **OTHER**
100-
- fix issues when running with ansible-core >= 2.19.0 ([Issue #219](https://github.com/githubixx/ansible-role-wireguard/issues/219) / [PR #220](https://github.com/githubixx/ansible-role-wireguard/pull/220/) - contribution by @jonathanplatzer)
101-
- replace `ansible_managed` variable with internal `wireguard__ansible_managed` variable. Reason: `DEFAULT_MANAGED_STR` option is deprecated in Ansible 2.19. The `ansible_managed` variable can be set just like any other variable, or a different variable can be used. At the end for now nothing changes for the user of this role as the output string `Ansible managed` will stay the same.
87+
- **POTENTIALLY BREAKING**
88+
- treat empty `wireguard_endpoint` as "no endpoint" (no hostname fallback). New behavior: if a peer explicitly sets `wireguard_endpoint: ""`, the template will not fall back to `inventory_hostname` for `Endpoint = ...` anymore. Instead it emits a comment `no endpoint…`. This is a behavior change, but it aligns with the documented contract in `README`: "setting wireguard_endpoint to an empty string means 'this peer has no endpoint'". Practically, it fixes a real bug: because `wireguard_port` is always defined via role defaults, the old logic almost always took the `wireguard_port is defined` branch and would generate `Endpoint = <inventory_hostname>:51820` even when `wireguard_endpoint: ""`. That contradicts `README` and breaks setups where inventory hostnames aren’t resolvable from peers. Who is affected? Only users who were (intentionally or accidentally) relying on the old incorrect behavior where `wireguard_endpoint: ""` still produced an endpoint via hostname fallback. Those users should instead omit `wireguard_endpoint` (to get hostname fallback) or set it to a real hostname/IP. Implemented in [fix(template): prevent hostname fallback when wireguard_endpoint is empty](https://github.com/githubixx/ansible-role-wireguard/pull/228) (contribution by @madic-creates) and [Netplan: treat empty wireguard_endpoint as - no endpoint - (no hostname fallback)](https://github.com/githubixx/ansible-role-wireguard/pull/230)
10289

10390
- **MOLECULE**
104-
- Molecule: update `netplan` scenario
105-
- Molecule: update `single-server` scenario
106-
107-
## 18.0.0
108-
109-
- **BREAKING**
110-
- removed support for `CentOS 7` (reached end of life)
111-
- removed support for `Ubuntu 20.04` (reached end of life)
112-
- removed support for `Fedora 39/40` (reached end of life)
113-
- removed support for `openSUSE Leap 15.5` (reached end of life)
114-
115-
- **FEATURE**
116-
- add support for `Debian 13` (Trixie)
117-
- add support for `Fedora 42`
118-
119-
- **OTHER**
120-
- remove unneeded task for `Ubuntu 19.10`
121-
- `defaults/main.yml`: add `noqa jinja[spacing]` to ignore `ansible-lint` warning
122-
- replace `ansible.builtin.yum` with `ansible.builtin.dnf`
123-
- update `.gitignore`
91+
- add Molecule scenario for `wireguard_endpoint` is set to empty [#231](https://github.com/githubixx/ansible-role-wireguard/pull/231)
12492

12593
## Installation
12694

meta/main.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
# Copyright (C) 2018-2025 Robert Wimmer
2+
# Copyright (C) 2018-2026 Robert Wimmer
33
# SPDX-License-Identifier: GPL-3.0-or-later
44

55
galaxy_info:
@@ -13,22 +13,21 @@ galaxy_info:
1313
- name: ArchLinux
1414
- name: Ubuntu
1515
versions:
16-
- "focal"
1716
- "jammy"
1817
- "noble"
1918
- name: Debian
2019
versions:
2120
- "bullseye"
2221
- "bookworm"
22+
- "trixie"
2323
- name: EL
2424
versions:
25-
- "7"
26-
- "8"
2725
- "9"
26+
- "10"
2827
- name: Fedora
2928
versions:
30-
- "39"
31-
- "40"
29+
- "42"
30+
- "43"
3231
- name: opensuse
3332
versions:
3433
- "all"

0 commit comments

Comments
 (0)