mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2025-12-25 00:12:37 +01:00
fix ansible-lint error
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
cmd: 'iptables -F'
|
cmd: 'iptables -F'
|
||||||
register: flush_iptables
|
register: flush_iptables
|
||||||
changed_when:
|
changed_when:
|
||||||
- flush_iptables.rc == 0 and flush_iptables.stdout != ""
|
- flush_iptables.rc == 0 and flush_iptables.stdout_lines.count == 0
|
||||||
when:
|
when:
|
||||||
- ansible_facts.distribution_release is search("buster")
|
- ansible_facts.distribution_release is search("buster")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user