You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-47Lines changed: 15 additions & 47 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,17 +19,21 @@ This role should work with:
19
19
- Ubuntu 22.04 (Jammy Jellyfish)
20
20
- Ubuntu 24.04 (Noble Numbat)
21
21
- Archlinux
22
-
- Debian 11 (Bullseye)
23
22
- Debian 12 (Bookworm)
24
23
- Debian 13 (Trixie)
25
24
- Fedora 42
25
+
- Fedora 43
26
26
- AlmaLinux 9
27
+
- AlmaLinux 10
27
28
- Rocky Linux 9
28
-
- openSUSE Leap
29
+
- Rocky Linux 10
30
+
- openSUSE Leap 15.6
31
+
- openSUSE Leap 16.0
29
32
- Oracle Linux 9
30
33
31
34
### Linux - Best effort
32
35
36
+
- Debian 11 (Bullseye)
33
37
- AlmaLinux 8
34
38
- Rocky Linux 8
35
39
- elementary OS 6
@@ -68,59 +72,23 @@ See full [CHANGELOG.md](https://github.com/githubixx/ansible-role-wireguard/blob
68
72
69
73
**Recent changes:**
70
74
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
80
76
81
77
-**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)
- use own [githubixx Vagrant boxes](https://portal.cloud.hashicorp.com/vagrant/discover/githubixx) where possible
93
84
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
98
86
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)
102
89
103
90
-**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)
0 commit comments