diff options
author | Vincent Schwarzer <vincent.schwarzer@yahoo.de> | 2017-05-09 14:58:37 +0200 |
---|---|---|
committer | Vincent Schwarzer <vincent.schwarzer@yahoo.de> | 2017-05-09 14:58:37 +0200 |
commit | 3cce846f28c5ea53d247839c9ea9587934307ab8 (patch) | |
tree | c0f0c019dac1917f4ce85fc07ed0a9baa0c344f9 /roles | |
parent | e1643f3049eb406c8b658caf27ced7b748cf6695 (diff) | |
download | openshift-3cce846f28c5ea53d247839c9ea9587934307ab8.tar.gz openshift-3cce846f28c5ea53d247839c9ea9587934307ab8.tar.bz2 openshift-3cce846f28c5ea53d247839c9ea9587934307ab8.tar.xz openshift-3cce846f28c5ea53d247839c9ea9587934307ab8.zip |
Added additional Calico Network Plugin Checks
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_common/tasks/main.yml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/roles/openshift_common/tasks/main.yml b/roles/openshift_common/tasks/main.yml index d9ccf87bc..359eaec07 100644 --- a/roles/openshift_common/tasks/main.yml +++ b/roles/openshift_common/tasks/main.yml @@ -28,10 +28,18 @@ when: openshift_use_openshift_sdn | default(true) | bool and openshift_use_calico | default(false) | bool - fail: - msg: Calico cannot currently be used with Flannel in Openshift. Set either openshift_use_calico or openshift_use_flannel, but not both + msg: Calico can not be used with Flannel in Openshift. Set either openshift_use_calico or openshift_use_flannel, but not both when: openshift_use_calico | default(false) | bool and openshift_use_flannel | default(false) | bool - fail: + msg: Calico can not be used with Nuage in Openshift. Set either openshift_use_calico or openshift_use_nuage, but not both + when: openshift_use_calico | default(false) | bool and openshift_use_nuage | default(false) | bool + +- fail: + msg: Calico can not be used with Contiv in Openshift. Set either openshift_use_calico or openshift_use_contiv, but not both + when: openshift_use_calico | default(false) | bool and openshift_use_contiv | default(false) | bool + +- fail: msg: openshift_hostname must be 64 characters or less when: openshift_hostname is defined and openshift_hostname | length > 64 |