--peers DEPRECATED - --endpoints should be used instead (#1943)

This commit is contained in:
chenhonggc
2017-11-14 05:28:35 -06:00
committed by Matthew Mosesohn
parent 5e558c361b
commit c7910b51a1
3 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
---
- name: Configure | Check if cluster is healthy
shell: "{{ bin_dir }}/etcdctl --peers={{ etcd_access_addresses }} cluster-health | grep -q 'cluster is healthy'"
shell: "{{ bin_dir }}/etcdctl --endpoints={{ etcd_access_addresses }} cluster-health | grep -q 'cluster is healthy'"
register: etcd_cluster_is_healthy
ignore_errors: true
changed_when: false