diff --git a/playbook.yml b/playbook.yml index 54f5535..df21a49 100644 --- a/playbook.yml +++ b/playbook.yml @@ -142,11 +142,13 @@ command: "curl -k https://{{ cluster.virtualip | ansible.utils.ipaddr('address') }}:6443/livez?verbose" parser: name: ansible.utils.json - register: api_readycheck + set_fact: api_readycheck ignore_errors: yes until: api_readycheck.apiVersion is defined retries: 3 delay: 30 + - ansible.builtin.debug: + var: api_readycheck delegate_to: "{{ ansible_play_hosts[0] }}" run_once: true