From b50eecf441ecbb98c6198e942cb25e6b521b9c5b Mon Sep 17 00:00:00 2001 From: djpbessems Date: Thu, 21 Apr 2022 17:42:09 +0200 Subject: [PATCH] Ignore errors on debugging steps --- playbook.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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