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 @@ ...@@ -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 @@ ...@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment