fix ansible-lint error

This commit is contained in:
Markus Fischbacher
2020-05-19 09:22:51 +02:00
parent 9452fd4b09
commit bdd2d21dfc

View File

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