From 83c1bd516d7add1e3cb1af05f25ed81f5e108065 Mon Sep 17 00:00:00 2001
From: Antoine Legrand <2t.antoine@gmail.com>
Date: Fri, 29 Jan 2016 12:23:29 +0100
Subject: [PATCH] Update calico.yml

---
 roles/network_plugin/tasks/calico.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/network_plugin/tasks/calico.yml b/roles/network_plugin/tasks/calico.yml
index ae6ac82da..e33b31247 100644
--- a/roles/network_plugin/tasks/calico.yml
+++ b/roles/network_plugin/tasks/calico.yml
@@ -27,7 +27,7 @@
   run_once: true
 
 - name: Calico | Configure calico network pool
-  command: calicoctl pool add {{ kube_pods_subnet }} {%- if cloud_provider is defined and cloud_provider == True -%} --ipip{%- endif -%}
+  shell: calicoctl pool add {{ kube_pods_subnet }}  {%- if cloud_provider is defined and cloud_provider == True -%} --ipip{%- endif -%}
   run_once: true
   when: calico_conf.status == 404
 
-- 
GitLab