--- - name: Wait for both nodes to report Ready ansible.builtin.command: k3s kubectl wait --for=condition=Ready nodes --all --timeout=180s changed_when: false - name: Read the node list ansible.builtin.command: k3s kubectl get nodes -o wide register: node_list changed_when: false - name: Show the resulting cluster ansible.builtin.debug: var: node_list.stdout_lines