Releases: githubixx/ansible-role-wireguard
Releases · githubixx/ansible-role-wireguard
19.0.0
-
POTENTIALLY BREAKING
- treat empty
wireguard_endpointas "no endpoint" (no hostname fallback). New behavior: if a peer explicitly setswireguard_endpoint: "", the template will not fall back toinventory_hostnameforEndpoint = ...anymore. Instead it emits a commentno endpoint…. This is a behavior change, but it aligns with the documented contract inREADME: "setting wireguard_endpoint to an empty string means 'this peer has no endpoint'". Practically, it fixes a real bug: becausewireguard_portis always defined via role defaults, the old logic almost always took thewireguard_port is definedbranch and would generateEndpoint = <inventory_hostname>:51820even whenwireguard_endpoint: "". That contradictsREADMEand 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 wherewireguard_endpoint: ""still produced an endpoint via hostname fallback. Those users should instead omitwireguard_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 (contribution by @madic-creates) and Netplan: treat empty wireguard_endpoint as - no endpoint - (no hostname fallback)
- treat empty
-
MOLECULE
- add Molecule scenario for
wireguard_endpointis set to empty #231
- add Molecule scenario for
18.3.0
-
OTHER
-
FEATURE
- optionally flush handlers at the end of the role via
wireguard_flush_handlers(Issue #124)
- optionally flush handlers at the end of the role via
-
MOLECULE
- replace Vagrant box
alvistack/debian-13->cloud-image/debian-13 - replace Vagrant box
opensuse/Leap-15.6.x86_64->alvistack/opensuse-leap-15.6
- replace Vagrant box
18.2.0
18.1.0
-
OTHER
- fix issues when running with ansible-core >= 2.19.0 (Issue #219 / PR #220 - contribution by @jonathanplatzer)
- replace
ansible_managedvariable with internalwireguard__ansible_managedvariable. Reason:DEFAULT_MANAGED_STRoption is deprecated in Ansible 2.19. Theansible_managedvariable 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 stringAnsible managedwill stay the same.
-
MOLECULE
- Molecule: update
netplanscenario - Molecule: update
single-serverscenario
- Molecule: update
18.0.0
-
BREAKING
- removed support for
CentOS 7(reached end of life) - removed support for
Ubuntu 20.04(reached end of life) - removed support for
Fedora 39/40(reached end of life) - removed support for
openSUSE Leap 15.5(reached end of life)
- removed support for
-
FEATURE
- add support for
Debian 13(Trixie) - add support for
Fedora 42
- add support for
-
OTHER
- remove unneeded task for
Ubuntu 19.10 defaults/main.yml: addnoqa jinja[spacing]to ignoreansible-lintwarning- replace
ansible.builtin.yumwithansible.builtin.dnf - update
.gitignore
- remove unneeded task for
17.1.0
-
FIXES
- add missing
wg-configtag (Issue #211) - hide peers with empty endpoints (Issue #101 - contribution by @Miroka96)
- add missing
-
FEATURE
-
OTHER
- update
.yamllint - fix
ansible-lintissues - update
.gitignore
- update
17.0.0
-
BREAKING
- removed support for
openSUSE 15.4(reached end of life)
- removed support for
-
FEATURE
- add support for
Ubuntu 24.04 - add support for
openSUSE 15.6
- add support for
-
MOLECULE
- remove outdated
Proxmoxcode - replace Vagrant box
rockylinux/9withbento/rockylinux-9 - use
ansible.builtin.packagefor AlmaLinux - remove
AlmaLinux 8,Rocky Linux 8andCentOS 7(outdated Python makes it hard to test with Ansible)
- remove outdated
16.0.2
16.0.0
-
BREAKING
- removed support for Fedora 37/38 (reached end of life)
-
FEATURE
- add support for Fedora 39
- introduce
wireguard_conf_backupvariable to keep track of configuration changes. Default tofalse. (contribution by @shk3bq4d) - introduce
wireguard_install_kernel_module. Allows to skip loading thewireguardkernel module. Default totrue(which was the previous behavior). (contribution by @gregorydlogan)
-
Molecule
- use different IP addresses
- use
genericVagrant boxes for Rocky Linux - use
alvistackVagrant boxes for Ubuntu - use official Rocky Linux 9 Vagrant box
- use official AlmaLinux Vagrant boxes
- move
memoryandcpusparameter to Vagrant boxes
15.0.0
What's Changed
Breaking:
- removed support for Ubuntu 18.04 (reached end of life)
- removed support for Fedora 36 (reached end of life)
Feature:
- add support for Fedora 37
- add support for Fedora 38
- add support for openSUSE 15.5
- add support for Debian 12
- prefix host name comment with
Name =for wg-info in WireGuard interface configuration (contribution by @tarag)
Molecule:
- rename
kvmscenario todefault - rename
kvm-single-serverscenario tosingle-server - upgrade OS and reboot in prepare before converge for Almalinux
Other:
- fix
ansible-lintissues
15.0.0 by @githubixx in #197
New Contributors
Full Changelog: 14.0.0...15.0.0