2018-02-13 00:34:01 +08:00
|
|
|
---
|
2018-09-16 10:50:56 +08:00
|
|
|
- name: install | Copy etcd and etcdctl binary from download dir
|
2018-09-27 17:12:02 +08:00
|
|
|
copy:
|
2018-09-16 10:50:56 +08:00
|
|
|
src: "{{ local_release_dir }}/etcd-{{ etcd_version }}-linux-amd64/{{ item }}"
|
|
|
|
dest: "{{ bin_dir }}/{{ item }}"
|
2018-09-27 17:12:02 +08:00
|
|
|
mode: 0755
|
|
|
|
remote_src: yes
|
2018-09-16 10:50:56 +08:00
|
|
|
with_items:
|
2018-09-27 17:12:02 +08:00
|
|
|
- etcd
|
|
|
|
- etcdctl
|
2018-07-30 17:55:25 +08:00
|
|
|
when: etcd_cluster_setup
|