diff --git a/roles/kube-master/tasks/main.yml b/roles/kube-master/tasks/main.yml index b2029c3..4cab356 100644 --- a/roles/kube-master/tasks/main.yml +++ b/roles/kube-master/tasks/main.yml @@ -43,22 +43,6 @@ delay: 6 become: yes -- name: Install Calico CNI - become: yes - become_user: fenix - shell: | - kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.30.3/manifests/tigera-operator.yaml - environment: - KUBECONFIG: /home/fenix/.kube/config - -- name: Install Calico CNI - become: yes - become_user: fenix - shell: | - kubectl apply -f https://docs.projectcalico.org/manifests/calico.yaml - environment: - KUBECONFIG: /home/fenix/.kube/config - - name: Get kubeadm join command shell: kubeadm token create --print-join-command register: join_cmd