Skip to content
Snippets Groups Projects
Unverified Commit a5af58c0 authored by Mateus Caruccio's avatar Mateus Caruccio Committed by GitHub
Browse files

Fix apiserver port when upgrading (#6136)

parent d8a61b94
No related branches found
No related tags found
No related merge requests found
---
- name: kubeadm | Check api is up
uri:
url: "https://{{ ip | default(fallback_ips[inventory_hostname]) }}:6443/healthz"
url: "https://{{ ip | default(fallback_ips[inventory_hostname]) }}:{{ kube_apiserver_port }}/healthz"
validate_certs: false
when: inventory_hostname == groups['kube-master']|first
register: _result
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment