Switch to set_fact key
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c36320c540
commit
412100e616
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user