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

This commit is contained in:
2025-10-12 18:29:17 +00:00
parent feb5e4e75a
commit 8a03d8c150

View File

@ -20,6 +20,17 @@
group: ubuntu
mode: 0644
- name: Wait for Kubernetes API to be ready
shell: |
kubectl get --raw='/healthz'
environment:
KUBECONFIG: /home/fenix/.kube/config
register: api_health
until: api_health.rc == 0
retries: 10
delay: 6
become: yes
- name: Install Calico CNI
become: yes
become_user: fenix