--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 member is in cluster
shell: "{{ bin_dir }}/etcdctl --no-sync --peers={{ etcd_access_addresses }} member list | grep -q {{ etcd_access_address }}"
shell: "{{ bin_dir }}/etcdctl --no-sync --endpoints={{ etcd_access_addresses }} member list | grep -q {{ etcd_access_address }}"
register: etcd_member_in_cluster
ignore_errors: true
changed_when: false