summaryrefslogtreecommitdiffstats
path: root/ansible/roles/rancher/tasks/rancher_health.yml
blob: b6e8d68b79755b03366d8c97195038f465c012be (plain)
1
2
3
4
5
6
7
8
---
- name: Check cluster health
  uri:
    url: "{{ rancher_server_url }}/v2-beta/projects/{{ k8s_env_id }}"
  register: env_info
  retries: "{{ rancher_cluster_health_check_retries }}"
  delay: 15
  until: env_info.json.healthState == rancher_cluster_health_state