Fix remove etcd broken with etcdctl_api 3 (#6448)

This commit is contained in:
Florian Ruynat 2020-07-27 08:32:29 +02:00 committed by GitHub
parent 1f9841f609
commit d8a197ca51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@
- inventory_hostname in groups['etcd'] - inventory_hostname in groups['etcd']
- name: Lookup etcd member id - name: Lookup etcd member id
shell: "{{ bin_dir }}/etcdctl member list | grep {{ node_ip }} | cut -d: -f1" shell: "{{ bin_dir }}/etcdctl member list | grep {{ node_ip }} | cut -d, -f1"
register: etcd_member_id register: etcd_member_id
ignore_errors: true ignore_errors: true
changed_when: false changed_when: false