Add --no-sync to etcdctl member list

Fixes #447
This commit is contained in:
Matthew Mosesohn 2016-08-29 12:50:45 +03:00
parent 108f902ed0
commit b54aacc62a

View file

@ -1,6 +1,6 @@
---
- name: Configure | Check if member is in cluster
shell: "etcdctl --peers={{ etcd_access_addresses }} member list | grep -q {{ etcd_access_address }}"
shell: "etcdctl --no-sync --peers={{ etcd_access_addresses }} member list | grep -q {{ etcd_access_address }}"
register: etcd_member_in_cluster
ignore_errors: true
changed_when: false