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

This commit is contained in:
2025-10-12 20:47:20 +00:00
parent 84f8d4eb65
commit b426f73146

View File

@ -1,5 +1,4 @@
- name: 2 Wait for Kubernetes API to be ready
- name: Wait for Kubernetes API to be ready
shell: | shell: |
kubectl get --raw='/healthz' kubectl get --raw='/healthz'
environment: environment:
@ -40,7 +39,7 @@
mode: 0644 mode: 0644
when: not kube_dir.stat.exists when: not kube_dir.stat.exists
- name: Wait for Kubernetes API to be ready - name: 3 Wait for Kubernetes API to be ready
shell: | shell: |
kubectl get --raw='/healthz' kubectl get --raw='/healthz'
environment: environment: