Ignore errors during debug;Debug helm
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
daa6f67cf8
commit
1a2edc280f
13
playbook.yml
13
playbook.yml
@ -46,7 +46,6 @@
|
||||
- name: Pause to allow initial calls to complete
|
||||
ansible.builtin.pause:
|
||||
seconds: 10
|
||||
prompt: ''
|
||||
|
||||
- name: Poll for completion
|
||||
ansible.builtin.async_status:
|
||||
@ -151,8 +150,9 @@
|
||||
with_sequence: count=5
|
||||
loop_control:
|
||||
pause: 10
|
||||
ignore_errors: yes
|
||||
- ansible.builtin.debug:
|
||||
var: pod_state.results
|
||||
msg: "{{ pod_state | json_query('results[*].stdout') }}"
|
||||
|
||||
delegate_to: "{{ ansible_play_hosts[0] }}"
|
||||
run_once: true
|
||||
@ -186,8 +186,9 @@
|
||||
with_sequence: count=5
|
||||
loop_control:
|
||||
pause: 10
|
||||
ignore_errors: yes
|
||||
- ansible.builtin.debug:
|
||||
var: pod_state.results
|
||||
msg: "{{ pod_state | json_query('results[*].stdout') }}"
|
||||
|
||||
|
||||
- name: Debug systemd unit
|
||||
@ -206,6 +207,12 @@
|
||||
- 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 }}"
|
||||
|
Loading…
Reference in New Issue
Block a user