fix: Add retries to wait for pinniped-concierge to come online

This commit is contained in:
Danny Bessems 2023-08-25 09:29:58 +02:00
parent 32dda728cb
commit 931eaf366c

View File

@ -13,6 +13,10 @@
ansible.builtin.shell:
cmd: pinniped get kubeconfig --kubeconfig {{ capi_kubeconfig.path }}
register: pinniped_config
until:
- pinniped_config is not failed
retries: "{{ playbook.retries }}"
delay: "{{ ((storage_benchmark | float) * playbook.delay.short) | int }}"
- name: Store kubeconfig in tempfile
ansible.builtin.copy: