nftables: Validate config before applying

This commit is contained in:
Timo Makinen 2025-04-05 19:51:35 +00:00
parent a7860a0104
commit 46a15fb9ce

View file

@ -16,6 +16,7 @@
mode: "0600"
owner: root
group: "{{ ansible_wheel }}"
validate: "nft -c -f %s"
notify: Reload nftables
- name: Enable service