summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Baubeau <sbaubeau@redhat.com>2015-10-15 10:38:59 +0200
committerSylvain Baubeau <sbaubeau@redhat.com>2015-10-27 17:42:56 +0100
commit68e09d87fd859d8ec41b5eef5c44b4b39e732ba2 (patch)
treeb82e850db9b4dc9f7f7d9628bb8d85275e5022e3
parent2a7131b9403a4b22ebc55606814f604f723dc826 (diff)
downloadopenshift-68e09d87fd859d8ec41b5eef5c44b4b39e732ba2.tar.gz
openshift-68e09d87fd859d8ec41b5eef5c44b4b39e732ba2.tar.bz2
openshift-68e09d87fd859d8ec41b5eef5c44b4b39e732ba2.tar.xz
openshift-68e09d87fd859d8ec41b5eef5c44b4b39e732ba2.zip
Ensure openshift-sdn and flannel can't be used at the same time
-rw-r--r--roles/openshift_common/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_common/tasks/main.yml b/roles/openshift_common/tasks/main.yml
index 64afc5081..fcc23a4f4 100644
--- a/roles/openshift_common/tasks/main.yml
+++ b/roles/openshift_common/tasks/main.yml
@@ -1,4 +1,8 @@
---
+- fail:
+ msg: Flannel can not be used with openshift sdn
+ when: openshift_use_openshift_sdn | bool and openshift_use_flannel | bool
+
- name: Set common Cluster facts
openshift_facts:
role: common