move task network-environment
This commit is contained in:
parent
7efaf30d36
commit
70aa68b9c7
2 changed files with 5 additions and 7 deletions
|
@ -15,12 +15,6 @@
|
||||||
- reload systemd
|
- reload systemd
|
||||||
- restart calico-node
|
- restart calico-node
|
||||||
|
|
||||||
- name: Calico | Write network-environment
|
|
||||||
template: src=calico/network-environment.j2 dest=/etc/network-environment mode=u+x
|
|
||||||
notify:
|
|
||||||
- reload systemd
|
|
||||||
- restart calico-node
|
|
||||||
|
|
||||||
- name: Calico | Enable calico-node
|
- name: Calico | Enable calico-node
|
||||||
service: name=calico-node enabled=yes state=started
|
service: name=calico-node enabled=yes state=started
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,12 @@
|
||||||
|
|
||||||
- include: flannel.yml
|
- include: flannel.yml
|
||||||
when: kube_network_plugin == "flannel"
|
when: kube_network_plugin == "flannel"
|
||||||
|
|
||||||
|
- name: Calico | Write network-environment
|
||||||
|
template: src=calico/network-environment.j2 dest=/etc/network-environment mode=u+x
|
||||||
|
when: kube_network_plugin == "calico"
|
||||||
|
|
||||||
- include: calico.yml
|
- include: calico.yml
|
||||||
when: kube_network_plugin == "calico"
|
when: kube_network_plugin == "calico"
|
||||||
|
|
||||||
- meta: flush_handlers
|
- meta: flush_handlers
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue