Add return_content key; Fix typo
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Danny Bessems 2022-04-21 17:18:18 +02:00
parent d0d40e0c24
commit 80c22d2355
1 changed files with 3 additions and 1 deletions

View File

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