---
- name: Kubeadm | Check api is up
  uri:
    url: "https://{{ ip | default(fallback_ip) }}:{{ kube_apiserver_port }}/healthz"
    validate_certs: false
  when: ('kube_control_plane' in group_names)
  register: _result
  retries: 60
  delay: 5
  until: _result.status == 200
