Merge pull request #448 from kubespray/etcdnosync

Add --no-sync to etcdctl member list
pull/455/head
Smaine Kahlouch 2016-08-29 18:58:14 +02:00 committed by GitHub
commit 311baeed5d
1 changed files with 1 additions and 1 deletions

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