Browse Source

Add --no-sync to etcdctl member list

Fixes #447
pull/448/head
Matthew Mosesohn 8 years ago
parent
commit
1345dd07f7
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/etcd/tasks/configure.yml

2
roles/etcd/tasks/configure.yml

@ -1,6 +1,6 @@
--- ---
- name: Configure | Check if member is in cluster - 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 register: etcd_member_in_cluster
ignore_errors: true ignore_errors: true
changed_when: false changed_when: false

Loading…
Cancel
Save