summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/v3_7
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-10-23 20:44:26 -0400
committerGitHub <noreply@github.com>2017-10-23 20:44:26 -0400
commitb9ddd26431a1c5be0b9f289bf5606796e548aaed (patch)
tree53c16a949476f30d112270044a915e56f98cbde9 /playbooks/common/openshift-cluster/upgrades/v3_7
parent78ab1bccc4475b66eb9de122a8cc7fcc3752698a (diff)
parent6ca954de98be2be9496347db8849928e4f79016c (diff)
downloadopenshift-b9ddd26431a1c5be0b9f289bf5606796e548aaed.tar.gz
openshift-b9ddd26431a1c5be0b9f289bf5606796e548aaed.tar.bz2
openshift-b9ddd26431a1c5be0b9f289bf5606796e548aaed.tar.xz
openshift-b9ddd26431a1c5be0b9f289bf5606796e548aaed.zip
Merge pull request #5832 from sdodson/bz1504525
Correct version gates on policy reconciliation and add retries
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades/v3_7')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/v3_7/validator.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/v3_7/validator.yml b/playbooks/common/openshift-cluster/upgrades/v3_7/validator.yml
index f76fc68d1..8e4f99c91 100644
--- a/playbooks/common/openshift-cluster/upgrades/v3_7/validator.yml
+++ b/playbooks/common/openshift-cluster/upgrades/v3_7/validator.yml
@@ -15,7 +15,7 @@
- name: Confirm OpenShift authorization objects are in sync
command: >
{{ openshift.common.client_binary }} adm migrate authorization
- when: not openshift.common.version_gte_3_7 | bool
+ when: openshift_version | version_compare('3.7','<')
changed_when: false
register: l_oc_result
until: l_oc_result.rc == 0