Use the kube_apiserver_insecure_port variable instead of static 8080

This commit is contained in:
Gregory Storme
2017-06-06 18:36:04 +02:00
parent 6e7323e3e8
commit 266ca9318d
3 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
---
- name: Kubernetes Apps | Wait for kube-apiserver
uri:
url: http://localhost:8080/healthz
url: http://localhost:{{ kube_apiserver_insecure_port }}/healthz
register: result
until: result.status == 200
retries: 10