Skip to content
Snippets Groups Projects
Commit 70aa68b9 authored by Smaine Kahlouch's avatar Smaine Kahlouch
Browse files

move task network-environment

parent 7efaf30d
No related branches found
No related tags found
No related merge requests found
......@@ -15,12 +15,6 @@
- reload systemd
- 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
service: name=calico-node enabled=yes state=started
......
......@@ -6,8 +6,12 @@
- include: flannel.yml
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
when: kube_network_plugin == "calico"
- meta: flush_handlers
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment