Skip to content

Commit 378349e

Browse files
fix(roles/firewall): install nftables alongside iptables for fwbuilder on all distros
1 parent 20a2ce1 commit 378349e

6 files changed

Lines changed: 6 additions & 33 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4141

4242
### Changed
4343

44+
* **role:firewall**: Install `nftables` together with `iptables` for `firewall__firewall == "fwbuilder"` on all distros (previously only installed via per-distro task files on Fedora and RHEL 8/9). The redundant `tasks/Fedora.yml`, `tasks/RedHat8.yml` and `tasks/RedHat9.yml` were removed.
4445
* **role:graylog_server**: Update `server.conf` templates to include `telemetry_enabled = false`.
4546
* **role:keepalived**: Document role scope in the README. The role intentionally covers only a minimal VRRP setup (single `vrrp_instance`, single `virtual_ipaddress`, PASS auth, `smtp_alert`). It does not set the `net.ipv4.ip_nonlocal_bind` sysctl and does not open the firewall for VRRP; pointers to the `kernel_settings` and `firewall` roles are included
4647
* **all roles**: Rewrite all role READMEs to use the new standard format: replace markdown tables with bullet lists for tags and variables, convert HTML/blockquote subkeys to expanded indented format, standardize terminology (`Bool` not `Boolean`, `Mandatory` not `Required`)

COMPATIBILITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ exoscale_vm | | | | | | | | Fe
3838
fail2ban | | | x | x | | | |
3939
fangfrisch | | | | x | | | |
4040
files | | | x | x | x | | |
41-
firewall | | | x | x | | | |
41+
firewall | x | x | x | x | x | x | x |
4242
freeipa_client | | | x | x | x | | |
4343
freeipa_server | | | x | x | x | | |
4444
github_project_createrepo | | | x | | | | |

roles/firewall/tasks/Fedora.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

roles/firewall/tasks/RedHat8.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

roles/firewall/tasks/RedHat9.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

roles/firewall/tasks/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,11 @@
185185

186186
- block:
187187

188-
- name: 'Make sure iptables is installed (required for fwb)'
188+
- name: 'Make sure iptables and nftables are installed (required for fwb)'
189189
ansible.builtin.package:
190-
name: 'iptables'
190+
name:
191+
- 'iptables'
192+
- 'nftables'
191193
state: 'present'
192194

193195
# You can't enable and start fwb.service at the same time - `/etc/fwb.sh start`

0 commit comments

Comments
 (0)