chore: Ensure api availability

This commit is contained in:
Danny Bessems 2024-06-15 19:47:44 +10:00
parent ac38731dcf
commit e057f313ea

View File

@ -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: