Fix check for removing etcd member (#5051)

Change-Id: Ib27d051ff111f813097a9b33a86465a2a30a6db0
This commit is contained in:
Matthew Mosesohn 2019-08-07 18:26:51 +03:00 committed by Kubernetes Prow Robot
parent a44235d11b
commit 75d1be8272

View file

@ -51,4 +51,4 @@
delegate_to: "{{ groups['etcd']|first }}"
when:
- inventory_hostname in groups['etcd']
- not etcd_member_id.stdout
- etcd_member_id.stdout | length > 0