From 895a02e2740b307987baea3ea984b828e5deeefd Mon Sep 17 00:00:00 2001 From: Smaine Kahlouch Date: Sun, 22 Nov 2015 22:32:45 +0100 Subject: [PATCH] change calico pool configuration order --- roles/network_plugin/tasks/calico.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/network_plugin/tasks/calico.yml b/roles/network_plugin/tasks/calico.yml index 1e6f5d47a..c461f5607 100644 --- a/roles/network_plugin/tasks/calico.yml +++ b/roles/network_plugin/tasks/calico.yml @@ -24,14 +24,14 @@ - name: Calico | Enable calico-node service: name=calico-node enabled=yes state=started -- name: Calico | Configure calico-node remove default pool - shell: calicoctl pool remove 192.168.0.0/16 +- name: Calico | Configure calico-node desired pool + shell: calicoctl pool add {{ kube_pods_subnet }} environment: ETCD_AUTHORITY: "{{ groups['kube-master'][0] }}:4001" run_once: true -- name: Calico | Configure calico-node desired pool - shell: calicoctl pool add {{ kube_pods_subnet }} +- name: Calico | Configure calico-node remove default pool + shell: calicoctl pool remove 192.168.0.0/16 environment: ETCD_AUTHORITY: "{{ groups['kube-master'][0] }}:4001" run_once: true