Commit 6fcd4d37 authored by Jon S. Stumpf's avatar Jon S. Stumpf Committed by Derek Nola
Browse files

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

parent 77b49f76
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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: