Loading roles/raspbian/tasks/main.yml +2 −5 Original line number Diff line number Diff line Loading @@ -17,11 +17,8 @@ register: boot_cmdline - name: Flush iptables before changing iptables-legacy shell: cmd: 'iptables -F' register: flush_iptables changed_when: - flush_iptables.rc == 0 and flush_iptables.stdout_lines.count == 0 iptables: flush: true when: - ansible_facts.distribution_release is search("buster") Loading Loading
roles/raspbian/tasks/main.yml +2 −5 Original line number Diff line number Diff line Loading @@ -17,11 +17,8 @@ register: boot_cmdline - name: Flush iptables before changing iptables-legacy shell: cmd: 'iptables -F' register: flush_iptables changed_when: - flush_iptables.rc == 0 and flush_iptables.stdout_lines.count == 0 iptables: flush: true when: - ansible_facts.distribution_release is search("buster") Loading