File tree 2 files changed +26
-0
lines changed
2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -702,6 +702,19 @@ Examples
702
702
wait_sleep : 10
703
703
wait_timeout : 360
704
704
705
+ - name : Wait for OpenShift bootstrap to complete
706
+ kubernetes.core.k8s_info :
707
+ kind : ConfigMap
708
+ name : bootstrap
709
+ namespace : kube-system
710
+ register : ocp_bootstrap_status
711
+ until : ocp_bootstrap_status.resources is defined and
712
+ (ocp_bootstrap_status.resources | length > 0) and
713
+ (ocp_bootstrap_status.resources[0].data.status is defined) and
714
+ (ocp_bootstrap_status.resources[0].data.status == 'complete')
715
+ retries : 60
716
+ delay : 15
717
+
705
718
706
719
707
720
Return Values
Original file line number Diff line number Diff line change 119
119
namespace: default
120
120
wait_sleep: 10
121
121
wait_timeout: 360
122
+
123
+ - name: Wait for OpenShift bootstrap to complete
124
+ kubernetes.core.k8s_info:
125
+ kind: ConfigMap
126
+ name: bootstrap
127
+ namespace: kube-system
128
+ register: ocp_bootstrap_status
129
+ until: ocp_bootstrap_status.resources is defined and
130
+ (ocp_bootstrap_status.resources | length > 0) and
131
+ (ocp_bootstrap_status.resources[0].data.status is defined) and
132
+ (ocp_bootstrap_status.resources[0].data.status == 'complete')
133
+ retries: 60
134
+ delay: 15
122
135
"""
123
136
124
137
RETURN = r"""
You can’t perform that action at this time.
0 commit comments