Ignore errors during debug;Debug helm
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
Danny Bessems 2022-04-24 13:24:35 +02:00
parent daa6f67cf8
commit 1a2edc280f
1 changed files with 10 additions and 3 deletions

View File

@ -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 }}"