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:
@ -20,6 +20,17 @@
|
|||||||
group: ubuntu
|
group: ubuntu
|
||||||
mode: 0644
|
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
|
- name: Install Calico CNI
|
||||||
become: yes
|
become: yes
|
||||||
become_user: fenix
|
become_user: fenix
|
||||||
|
|||||||
Reference in New Issue
Block a user