Merge pull request #786 from mattymo/bug777
Add wait for kube-apiserver to kubernetes-apps
This commit is contained in:
commit
de8cd5cd7f
1 changed files with 7 additions and 0 deletions
|
@ -1,4 +1,11 @@
|
||||||
---
|
---
|
||||||
|
- name: Kubernetes Apps | Wait for kube-apiserver
|
||||||
|
uri: url=http://localhost:8080/healthz
|
||||||
|
register: result
|
||||||
|
until: result.status == 200
|
||||||
|
retries: 10
|
||||||
|
delay: 6
|
||||||
|
|
||||||
- name: Kubernetes Apps | Lay Down KubeDNS Template
|
- name: Kubernetes Apps | Lay Down KubeDNS Template
|
||||||
template: src={{item.file}} dest={{kube_config_dir}}/{{item.file}}
|
template: src={{item.file}} dest={{kube_config_dir}}/{{item.file}}
|
||||||
with_items:
|
with_items:
|
||||||
|
|
Loading…
Reference in a new issue