diff --git a/playbook.yml b/playbook.yml index 200b798..ede25ed 100644 --- a/playbook.yml +++ b/playbook.yml @@ -152,6 +152,11 @@ - ansible.builtin.debug: var: "{{ pod_state.results }}" + - name: Pause to allow k3s to initialize fully + ansible.builtin.pause: + seconds: 300 + + delegate_to: "{{ ansible_play_hosts[0] }}" run_once: true @@ -184,12 +189,6 @@ - applications.k3s.yml tasks: - - ansible.builtin.shell: - cmd: kubectl version;kubectl get node - register: nodes_status - - ansible.builtin.debug: - var: nodes_status - - name: Add Helm chart repositories kubernetes.core.helm_repository: name: "{{ item.name }}"