- ---
- # wait to see that the apiserver is available
- - name: wait for api server to be ready
- uri:
- url: https://apiserver.kube-service-catalog.svc/healthz
- validate_certs: no
- return_content: yes
- environment:
- no_proxy: '*'
- register: api_health
- until: "'ok' in api_health.content"
- retries: 60
- delay: 10
- changed_when: false
|