roles/common: Fix nftables handler in Debian firewall
We used to use reload, but now the idempotent thing to do is to use restart instead of reload.
This commit is contained in:
parent
d261f81642
commit
479127a5e4
@ -28,7 +28,7 @@
|
||||
when: ansible_distribution_major_version is version('11', '>=')
|
||||
template: src=nftables.conf.j2 dest=/etc/nftables.conf owner=root mode=0644
|
||||
notify:
|
||||
- reload nftables
|
||||
- restart nftables
|
||||
|
||||
- name: Create /etc/nftables extra config directory
|
||||
when: ansible_distribution_major_version is version('11', '>=')
|
||||
@ -44,7 +44,7 @@
|
||||
- abuseipdb-ipv4.nft
|
||||
- abuseipdb-ipv6.nft
|
||||
notify:
|
||||
- reload nftables
|
||||
- restart nftables
|
||||
|
||||
- name: Use iptables backend in firewalld
|
||||
when: ansible_distribution_major_version is version('10', '==')
|
||||
|
Loading…
Reference in New Issue
Block a user