Update roles/kube-master/tasks/main.yml

This commit is contained in:
2025-10-17 11:53:02 +00:00
parent 80ebba6f0f
commit b1876866a5

View File

@ -43,22 +43,6 @@
delay: 6 delay: 6
become: yes 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 - name: Get kubeadm join command
shell: kubeadm token create --print-join-command shell: kubeadm token create --print-join-command
register: join_cmd register: join_cmd