Преглед изворни кода

Ensure openshift-sdn and flannel can't be used at the same time

Sylvain Baubeau пре 9 година
родитељ
комит
68e09d87fd
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      roles/openshift_common/tasks/main.yml

+ 4 - 0
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
 - name: Set common Cluster facts
   openshift_facts:
   openshift_facts:
     role: common
     role: common