You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
300 B

  1. ---
  2. - name: Configure | Check if cluster is healthy
  3. shell: "{{ bin_dir }}/etcdctl --peers={{ etcd_access_addresses }} cluster-health | grep -q 'cluster is healthy'"
  4. register: etcd_cluster_is_healthy
  5. failed_when: false
  6. changed_when: false
  7. check_mode: no
  8. when: is_etcd_master
  9. tags: facts