Add return_content key; Fix typo
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d0d40e0c24
commit
80c22d2355
@ -144,6 +144,7 @@
|
||||
|
||||
- ansible.builtin.shell:
|
||||
cmd: "curl -k https://{{ cluster.virtualip }}:6443/livez?verbose"
|
||||
return_content: yes
|
||||
register: api_readycheck
|
||||
- ansible.builtin.debug:
|
||||
var: api_readycheck
|
||||
@ -163,6 +164,7 @@
|
||||
|
||||
- ansible.builtin.shell:
|
||||
cmd: "curl -k https://{{ cluster.virtualip }}:6443/livez?verbose"
|
||||
return_content: yes
|
||||
register: api_readycheck
|
||||
- ansible.builtin.debug:
|
||||
var: api_readycheck
|
||||
@ -171,7 +173,7 @@
|
||||
|
||||
- name: Debug systemd unit
|
||||
ansible.builtin.shell:
|
||||
cmd: systemctl status k3s -l --no-pager; journalctl -u k3s.service -b --nopager
|
||||
cmd: systemctl status k3s -l --no-pager; journalctl -u k3s.service -b --no-pager
|
||||
register: debug
|
||||
- ansible.builtin.debug:
|
||||
var: debug.stdout
|
||||
|
Loading…
Reference in New Issue
Block a user