mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2026-03-09 12:02:11 +01:00
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:
committed by
Derek Nola
parent
77b49f76ce
commit
6fcd4d3748
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user