nftables(role): reload instead of restart
Some checks failed
/ Ansible Lint (push) Failing after 3m22s
Some checks failed
/ Ansible Lint (push) Failing after 3m22s
This should make the role more robust against misconfigurations.
This commit is contained in:
parent
46b0a49eb8
commit
3aa146d723
2 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
- name: Restart nftables service
|
- name: Reload nftables service
|
||||||
ansible.builtin.systemd_service:
|
ansible.builtin.systemd_service:
|
||||||
name: nftables
|
name: nftables
|
||||||
state: restarted
|
state: reloaded
|
||||||
become: true
|
become: true
|
||||||
|
|
|
||||||
|
|
@ -12,4 +12,4 @@
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
become: true
|
become: true
|
||||||
notify: Restart nftables service
|
notify: Reload nftables service
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue