Fix remove etcd broken with etcdctl_api 3 (#6448)
This commit is contained in:
parent
1f9841f609
commit
d8a197ca51
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue