Merge pull request #126 from ansibl8s/calico_nat_outgoing

add option '--nat-outgoing' for calico on clouds
This commit is contained in:
Antoine Legrand 2016-02-01 14:32:13 +01:00
commit 896f59267a

View file

@ -27,7 +27,7 @@
run_once: true run_once: true
- name: Calico | Configure calico network pool for cloud - name: Calico | Configure calico network pool for cloud
command: "calicoctl pool add {{ kube_pods_subnet }} --ipip" command: "calicoctl pool add {{ kube_pods_subnet }} --ipip --nat-outgoing"
run_once: true run_once: true
when: calico_conf.status == 404 and cloud_provider is defined and cloud_provider == True when: calico_conf.status == 404 and cloud_provider is defined and cloud_provider == True