mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2025-10-27 16:53:04 +00:00
Update roles/kube-master/tasks/main.yml
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user