Add wait for kube-apiserver to kubernetes-apps

Fixes #777
pull/786/head
Matthew Mosesohn 2016-12-20 18:44:39 +03:00
parent f2cf323ecf
commit d314174149
1 changed files with 7 additions and 0 deletions

View File

@ -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: