Add retries to SCC check on upgrade
@@ -12,6 +12,8 @@
{{ openshift_client_binary }} adm policy --config={{ openshift.common.config_base }}/master/admin.kubeconfig reconcile-sccs --additive-only=true -o name
register: check_reconcile_scc_result
when: openshift_reconcile_sccs_reject_change | default(true) | bool
+ until: check_reconcile_scc_result.rc == 0
+ retries: 3
- fail:
msg: >