Add crude pause;Remove debug step
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
2584d3c945
commit
c8d7fae061
11
playbook.yml
11
playbook.yml
@ -152,6 +152,11 @@
|
|||||||
- ansible.builtin.debug:
|
- ansible.builtin.debug:
|
||||||
var: "{{ pod_state.results }}"
|
var: "{{ pod_state.results }}"
|
||||||
|
|
||||||
|
- name: Pause to allow k3s to initialize fully
|
||||||
|
ansible.builtin.pause:
|
||||||
|
seconds: 300
|
||||||
|
|
||||||
|
|
||||||
delegate_to: "{{ ansible_play_hosts[0] }}"
|
delegate_to: "{{ ansible_play_hosts[0] }}"
|
||||||
run_once: true
|
run_once: true
|
||||||
|
|
||||||
@ -184,12 +189,6 @@
|
|||||||
- applications.k3s.yml
|
- applications.k3s.yml
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
- ansible.builtin.shell:
|
|
||||||
cmd: kubectl version;kubectl get node
|
|
||||||
register: nodes_status
|
|
||||||
- ansible.builtin.debug:
|
|
||||||
var: nodes_status
|
|
||||||
|
|
||||||
- name: Add Helm chart repositories
|
- name: Add Helm chart repositories
|
||||||
kubernetes.core.helm_repository:
|
kubernetes.core.helm_repository:
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user