We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82b65a0 commit 146a068Copy full SHA for 146a068
1 file changed
roles/openshift_adm/tasks/wait_for_cluster.yml
@@ -49,8 +49,15 @@
49
- name: Check for pending certificate approval.
50
when:
51
- _openshift_adm_check_cert_approve | default(false) | bool
52
+ register: _approve_csr
53
approve_csr:
54
k8s_config: "{{ cifmw_openshift_kubeconfig }}"
55
+ retries: 30
56
+ delay: 10
57
+ until:
58
+ - _approve_csr is defined
59
+ - _approve_csr.rc is defined
60
+ - _approve_csr.rc == 0
61
62
- name: Wait until the OpenShift cluster is stable.
63
environment:
0 commit comments