From 412100e616b195fc38f71a1b29e435506be09b9b Mon Sep 17 00:00:00 2001 From: djpbessems Date: Fri, 22 Apr 2022 20:38:25 +0200 Subject: [PATCH] Switch to set_fact key --- playbook.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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