chore(release): 3.5.0
Build / build (pull_request) Successful in 51s
Lint / lint (pull_request) Successful in 4m46s
Molecule / select (pull_request) Successful in 6s
Molecule / scenarios (pull_request) Skipped
Molecule / Result (pull_request) Successful in 2s

Minor release: the ufw role masks nftables.service, so an upgrade of the
nftables package can no longer flush the rules ufw and Docker loaded.

Assisted-by: Claude Code:claude-opus-5-5
This commit is contained in:
Defame1297 committed 2026-12-06 07:53:31 +00:00
1 parent 9dba48a30d
commit 33f4ee960e
7 files changed
+38 -19

No files matched your search

+21
View File
@@ -599,3 +599,24 @@ releases:
- 511-system-baseline-icmp-redirects.yml
- 511-system-baseline-sysctl-wildcard.yml
release_date: '2026-12-03'
3.5.0:
changes:
bugfixes:
- 'ufw - An upgrade of the ``nftables`` package no longer deletes the firewall
rules on hosts where ``nftables.service`` is enabled. The package''s postinst
restarts that unit, whose stock ``/etc/nftables.conf`` begins with ``flush
ruleset``, so the rules ufw and Docker loaded were gone until they reloaded.
The role now masks ``nftables.service`` without stopping it whenever ``ufw_enabled``
is true, also when the unit or the package is absent, so the first run reports
``changed`` once. A host that loads its own ruleset through ``nftables.service``
(NAT tables or sets, for example) would lose it at the next reboot without
a warning, because a masked unit does not start: set ``ufw_mask_nftables:
false`` on such a host before upgrading.'
minor_changes:
- ufw - New input ``ufw_mask_nftables`` (default ``true``) and tag ``ufw_nftables``.
Set the input to ``false`` on a host that loads its own ruleset through ``nftables.service``;
the role never unmasks the unit.
fragments:
- ufw-mask-nftables-input.yml
- ufw-mask-nftables.yml
release_date: '2026-12-06'