From c8d7fae0616fd6937385d551a33dd1bd1fa14c2b Mon Sep 17 00:00:00 2001 From: djpbessems Date: Sun, 24 Apr 2022 22:09:14 +0200 Subject: [PATCH] Add crude pause;Remove debug step --- playbook.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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 }}"