blob: b6e8d68b79755b03366d8c97195038f465c012be [file] [log] [blame]
Samuli Silviusc580efe2019-03-17 18:06:33 +02001---
2- name: Check cluster health
3 uri:
4 url: "{{ rancher_server_url }}/v2-beta/projects/{{ k8s_env_id }}"
5 register: env_info
Samuli Silviusbb3bef82019-04-04 08:22:08 +03006 retries: "{{ rancher_cluster_health_check_retries }}"
Samuli Silviusc580efe2019-03-17 18:06:33 +02007 delay: 15
Samuli Silviusbb3bef82019-04-04 08:22:08 +03008 until: env_info.json.healthState == rancher_cluster_health_state