Samuli Silvius | c580efe | 2019-03-17 18:06:33 +0200 | [diff] [blame] | 1 | --- |
2 | - name: Check cluster health | ||||
3 | uri: | ||||
4 | url: "{{ rancher_server_url }}/v2-beta/projects/{{ k8s_env_id }}" | ||||
5 | register: env_info | ||||
Samuli Silvius | bb3bef8 | 2019-04-04 08:22:08 +0300 | [diff] [blame^] | 6 | retries: "{{ rancher_cluster_health_check_retries }}" |
Samuli Silvius | c580efe | 2019-03-17 18:06:33 +0200 | [diff] [blame] | 7 | delay: 15 |
Samuli Silvius | bb3bef8 | 2019-04-04 08:22:08 +0300 | [diff] [blame^] | 8 | until: env_info.json.healthState == rancher_cluster_health_state |