fix(security): flush handlers immediately after modifying firewall rules
This commit is contained in:
parent
779f2766f2
commit
b7a09296bc
1 changed files with 3 additions and 0 deletions
|
@ -68,3 +68,6 @@
|
||||||
dest: "/etc/nftables.d/{{ (item.split('/') | last)[:-3] }}"
|
dest: "/etc/nftables.d/{{ (item.split('/') | last)[:-3] }}"
|
||||||
mode: '0600'
|
mode: '0600'
|
||||||
loop: "{{ q('fileglob', '../templates/system/nftables.d/*.j2') }}"
|
loop: "{{ q('fileglob', '../templates/system/nftables.d/*.j2') }}"
|
||||||
|
|
||||||
|
- name: flush handlers
|
||||||
|
ansible.builtin.meta: flush_handlers
|
||||||
|
|
Loading…
Add table
Reference in a new issue