mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-08 14:32:09 -03:30
- invoke setup module only once to gather ipv4 and ipv6 addresses - eliminate remaining use of `fallback_ip` and `fallback_ip6`, allowing us to define (with `set_fact` all the "computed" IPs variable in one go, since there is no longer a dependency between them.
11 lines
283 B
YAML
11 lines
283 B
YAML
---
|
|
- name: Kubeadm | Check api is up
|
|
uri:
|
|
url: "https://{{ main_ip | ansible.utils.ipwrap }}:{{ kube_apiserver_port }}/healthz"
|
|
validate_certs: false
|
|
when: ('kube_control_plane' in group_names)
|
|
register: _result
|
|
retries: 60
|
|
delay: 5
|
|
until: _result.status == 200
|