|
@ -4,13 +4,6 @@ |
|
|
- include: nginx-proxy.yml |
|
|
- include: nginx-proxy.yml |
|
|
when: is_kube_master == false and loadbalancer_apiserver_localhost|default(false) |
|
|
when: is_kube_master == false and loadbalancer_apiserver_localhost|default(false) |
|
|
|
|
|
|
|
|
- name: Write Calico cni config |
|
|
|
|
|
template: |
|
|
|
|
|
src: "cni-calico.conf.j2" |
|
|
|
|
|
dest: "/etc/cni/net.d/10-calico.conf" |
|
|
|
|
|
owner: kube |
|
|
|
|
|
when: kube_network_plugin == "calico" |
|
|
|
|
|
|
|
|
|
|
|
- name: Write kubelet config file |
|
|
- name: Write kubelet config file |
|
|
template: src=kubelet.j2 dest={{ kube_config_dir }}/kubelet.env backup=yes |
|
|
template: src=kubelet.j2 dest={{ kube_config_dir }}/kubelet.env backup=yes |
|
|
notify: |
|
|
notify: |
|
|