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 authored and Derek Nola committed 2026-02-26 12:03:56 -08:00
1 parent 77b49f76ce
commit 6fcd4d3748
1 file changed
+8
+8
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: