summaryrefslogtreecommitdiffstats
path: root/roles/openshift_manageiq/tasks
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-01-06 16:47:52 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2016-01-06 16:47:52 -0500
commita2fb89156aac2cecdd4b683412d373e747a333a2 (patch)
treeb18440e78ec337afebad56a9891a5e4882815f4a /roles/openshift_manageiq/tasks
parent02de437221381a0d209c903bb1851ea58e605480 (diff)
parent220982cf741faebccfb066e822626c7a951735c3 (diff)
downloadopenshift-a2fb89156aac2cecdd4b683412d373e747a333a2.tar.gz
openshift-a2fb89156aac2cecdd4b683412d373e747a333a2.tar.bz2
openshift-a2fb89156aac2cecdd4b683412d373e747a333a2.tar.xz
openshift-a2fb89156aac2cecdd4b683412d373e747a333a2.zip
Merge pull request #1123 from brenton/manageiq
We can't enable manageiq for installations less than OSE 3.1 or Origiā€¦
Diffstat (limited to 'roles/openshift_manageiq/tasks')
-rw-r--r--roles/openshift_manageiq/tasks/main.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_manageiq/tasks/main.yaml b/roles/openshift_manageiq/tasks/main.yaml
index 2d3187e21..0357fc85a 100644
--- a/roles/openshift_manageiq/tasks/main.yaml
+++ b/roles/openshift_manageiq/tasks/main.yaml
@@ -1,4 +1,8 @@
---
+- fail:
+ msg: "The openshift_manageiq role requires OpenShift Enterprise 3.1 or Origin 1.1."
+ when: not openshift.common.version_greater_than_3_1_or_1_1 | bool
+
- name: Copy Configuration to temporary conf
command: >
cp {{ openshift.common.config_base }}/master/admin.kubeconfig {{manage_iq_tmp_conf}}