chore: Ensure api availability
This commit is contained in:
parent
ac38731dcf
commit
e057f313ea
@ -37,8 +37,15 @@
|
||||
kubeconfig: "{{ kubeconfig.path }}"
|
||||
values: "{{ components['argo-workflows'].chart_values }}"
|
||||
|
||||
# - name: Trigger handlers
|
||||
# ansible.builtin.meta: flush_handlers
|
||||
- name: Ensure argo workflows API availability
|
||||
ansible.builtin.uri:
|
||||
url: https://workflow.{{ vapp['metacluster.fqdn'] }}/api/v1/version
|
||||
method: GET
|
||||
register: api_readycheck
|
||||
until:
|
||||
- api_readycheck.json.version is defined
|
||||
retries: "{{ playbook.retries }}"
|
||||
delay: "{{ (storage_benchmark | int) * (playbook.delay.long | int) }}"
|
||||
|
||||
module_defaults:
|
||||
ansible.builtin.uri:
|
||||
|
Loading…
Reference in New Issue
Block a user