nftables: Validate config before applying
This commit is contained in:
parent
a7860a0104
commit
46a15fb9ce
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
|||
mode: "0600"
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
validate: "nft -c -f %s"
|
||||
notify: Reload nftables
|
||||
|
||||
- name: Enable service
|
||||
|
|
Loading…
Add table
Reference in a new issue