start_api_server.yml 346 B

1234567891011121314
  1. ---
  2. # wait to see that the apiserver is available
  3. - name: wait for api server to be ready
  4. uri:
  5. url: https://apiserver.kube-service-catalog.svc/healthz
  6. validate_certs: no
  7. return_content: yes
  8. environment:
  9. no_proxy: '*'
  10. register: api_health
  11. until: "'ok' in api_health.content"
  12. retries: 60
  13. delay: 10
  14. changed_when: false