diff --git a/playbook.yml b/playbook.yml index 7b825ef..54613f3 100644 --- a/playbook.yml +++ b/playbook.yml @@ -143,8 +143,9 @@ - block: - ansible.builtin.shell: - cmd: "curl -sk https://{{ cluster.virtualip | ansible.utils.ipaddr('address') }}:6443/livez?verbose" + cmd: "curl -k https://{{ cluster.virtualip | ansible.utils.ipaddr('address') }}:6443/livez?verbose" register: api_readycheck + ignore_errors: yes - ansible.builtin.debug: var: api_readycheck.stdout @@ -162,7 +163,8 @@ K3S_URL: "{{ 'https://' + ( cluster.virtualip | ansible.utils.ipaddr('address') ) + ':6443' }}" - ansible.builtin.shell: - cmd: "curl -sk https://{{ cluster.virtualip | ansible.utils.ipaddr('address') }}:6443/livez?verbose" + cmd: "curl -k https://{{ cluster.virtualip | ansible.utils.ipaddr('address') }}:6443/livez?verbose" + ignore_errors: yes register: api_readycheck - ansible.builtin.debug: var: api_readycheck.stdout