fix ansible-lint error
parent
9452fd4b09
commit
bdd2d21dfc
|
@ -21,7 +21,7 @@
|
|||
cmd: 'iptables -F'
|
||||
register: flush_iptables
|
||||
changed_when:
|
||||
- flush_iptables.rc == 0 and flush_iptables.stdout != ""
|
||||
- flush_iptables.rc == 0 and flush_iptables.stdout_lines.count == 0
|
||||
when:
|
||||
- ansible_facts.distribution_release is search("buster")
|
||||
|
||||
|
|
Loading…
Reference in New Issue