Skip to content

Commit 258af6b

Browse files
committed
Add retries when checking oc version
1 parent e5ad7af commit 258af6b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ansible/roles/iib_ci/tasks/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
ansible.builtin.shell: |
1818
oc get openshiftcontrollermanager/cluster -o yaml -o jsonpath='{.status.version}'
1919
register: oc_version_raw
20+
retries: 10
21+
delay: 10
22+
until: oc_version_raw is not failed
2023
changed_when: false
2124

2225
- name: Is OCP pre OCP 4.13? (aka registry supports v2 manifests)

0 commit comments

Comments
 (0)