summaryrefslogtreecommitdiffstats
path: root/roles/openshift_common
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2016-02-09 23:10:22 -0500
committerJason DeTiberus <jdetiber@redhat.com>2016-02-09 23:15:55 -0500
commit3e80073b3b9052bedda3850c7844bef50f489ef0 (patch)
tree1e516b4a0dc777bc15606e50505fd60f3b7e5cc1 /roles/openshift_common
parent39fc2154a5ba751b1a1550486fe33943019e8528 (diff)
downloadopenshift-3e80073b3b9052bedda3850c7844bef50f489ef0.tar.gz
openshift-3e80073b3b9052bedda3850c7844bef50f489ef0.tar.bz2
openshift-3e80073b3b9052bedda3850c7844bef50f489ef0.tar.xz
openshift-3e80073b3b9052bedda3850c7844bef50f489ef0.zip
Add gte check for 3.2, update version checks to gte
Diffstat (limited to 'roles/openshift_common')
-rw-r--r--roles/openshift_common/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_common/tasks/main.yml b/roles/openshift_common/tasks/main.yml
index 98b0b11ea..06e2c0878 100644
--- a/roles/openshift_common/tasks/main.yml
+++ b/roles/openshift_common/tasks/main.yml
@@ -8,7 +8,7 @@
when: openshift_use_openshift_sdn | default(false) | bool and openshift_use_nuage | default(false) | bool
- fail:
- msg: Nuage sdn can not be used with flannel
+ msg: Nuage sdn can not be used with flannel
when: openshift_use_flannel | default(false) | bool and openshift_use_nuage | default(false) | bool
- fail:
@@ -49,7 +49,7 @@
# For enterprise versions < 3.1 and origin versions < 1.1 we want to set the
# hostname by default.
- set_fact:
- set_hostname_default: "{{ not openshift.common.version_greater_than_3_1_or_1_1 }}"
+ set_hostname_default: "{{ not openshift.common.version_gte_3_1_or_1_1 }}"
- name: Set hostname
command: >