fix: wait for control plane to be ready before agents join

Signed-off-by: Jon S. Stumpf <jon.stumpf@gmail.com>
This commit is contained in:
Jon S. Stumpf
2026-02-25 19:36:59 -05:00
committed by Derek Nola
parent 77b49f76ce
commit 6fcd4d3748

View File

@@ -320,6 +320,14 @@
delay: 10
changed_when: false
- name: Wait for control plane to be ready
ansible.builtin.wait_for:
host: "{{ api_endpoint }}"
port: "{{ api_port }}"
timeout: 60
run_once: true
changed_when: false
- name: Setup kubectl for user
when: user_kubectl
block: