summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/v3_7
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-10-20 15:13:49 -0400
committerScott Dodson <sdodson@redhat.com>2017-10-20 15:17:44 -0400
commit6ca954de98be2be9496347db8849928e4f79016c (patch)
tree10f8f7de2080ed239644d07d4654a28475c85919 /playbooks/common/openshift-cluster/upgrades/v3_7
parentd216b51c276361d49fd89be513e52c5078359dee (diff)
downloadopenshift-6ca954de98be2be9496347db8849928e4f79016c.tar.gz
openshift-6ca954de98be2be9496347db8849928e4f79016c.tar.bz2
openshift-6ca954de98be2be9496347db8849928e4f79016c.tar.xz
openshift-6ca954de98be2be9496347db8849928e4f79016c.zip
verstion_gte seems unreliable on containerized installs
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