From b54aacc62a6603f91a4a004d24d87b1fe79f2271 Mon Sep 17 00:00:00 2001 From: Matthew Mosesohn Date: Mon, 29 Aug 2016 12:50:45 +0300 Subject: [PATCH] Add --no-sync to etcdctl member list Fixes #447 --- roles/etcd/tasks/configure.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/etcd/tasks/configure.yml b/roles/etcd/tasks/configure.yml index b665acceb..56b01da3f 100644 --- a/roles/etcd/tasks/configure.yml +++ b/roles/etcd/tasks/configure.yml @@ -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