Move network-helper to own file independend from calico

role_nftables
Ruakij 2 years ago
parent d113625fa8
commit a3c887748a

@ -49,4 +49,6 @@
- name: Deploy calico - name: Deploy calico
import_tasks: ./roles/kubernetes/tasks/install/server/network-plugin/deploy_calico.yml import_tasks: ./roles/kubernetes/tasks/install/server/network-plugin/deploy_calico.yml
when: "kubernetes.network_plugin == 'calico'"
- name: Deploy network-helpers
import_tasks: ./roles/kubernetes/tasks/install/server/network-plugin/deploy_network_helper.yml

@ -15,6 +15,3 @@
register: command register: command
changed_when: "'created' in command.stdout" changed_when: "'created' in command.stdout"
run_once: true run_once: true
- name: Deploy calico-helpers
import_tasks: ./roles/kubernetes/tasks/install/server/network-plugin/deploy_calico_helper.yml

@ -4,3 +4,4 @@
dest: /var/lib/rancher/k3s/server/manifests/routingtabletowg.yml dest: /var/lib/rancher/k3s/server/manifests/routingtabletowg.yml
mode: u=rw,g=r,o=r mode: u=rw,g=r,o=r
run_once: true run_once: true
when: "kubernetes.network.helper.routingtabletowg"
Loading…
Cancel
Save