Merge "Do not fail if /usr/sbin/nft is not present" into stable/train

This commit is contained in:
Zuul 2020-04-04 23:59:19 +00:00 committed by Gerrit Code Review
commit c1ef8fcc36
1 changed files with 1 additions and 1 deletions

View File

@ -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