Merge "Do not fail if /usr/sbin/nft is not present" into stable/train
This commit is contained in:
commit
c1ef8fcc36
|
@ -79,7 +79,7 @@ outputs:
|
|||
- when: nftablesconf is changed
|
||||
block:
|
||||
- name: Flush Nftables rules when nftables.conf changed
|
||||
command: /usr/sbin/nft flush ruleset
|
||||
shell: if [[ -x /usr/sbin/nft ]]; then /usr/sbin/nft flush ruleset; fi
|
||||
- name: Restart iptables to restore firewall after flushing nftables
|
||||
systemd:
|
||||
state: reloaded
|
||||
|
|
Loading…
Reference in New Issue