Install calico-plugin before running calico

This commit is contained in:
ant31
2015-12-28 22:02:30 +01:00
parent 5c15d14f12
commit e378f4fb14
4 changed files with 22 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
- name: "Test if network plugin is defined"
fail: msg="ERROR, One network_plugin variable must be defined (Flannel or Calico)"
when: ( kube_network_plugin is defined and kube_network_plugin == "calico" and kube_network_plugin == "flannel" ) or
kube_network_plugin is not defined
kube_network_plugin is not defined
- name: Write network-environment
template: src=network-environment.j2 dest=/etc/network-environment mode=640