6ca2019002
Use host_architecture variable.
11 lines
311 B
YAML
11 lines
311 B
YAML
---
|
|
- name: install | Copy etcd and etcdctl binary from download dir
|
|
copy:
|
|
src: "{{ local_release_dir }}/etcd-{{ etcd_version }}-linux-{{ host_architecture }}/{{ item }}"
|
|
dest: "{{ bin_dir }}/{{ item }}"
|
|
mode: 0755
|
|
remote_src: yes
|
|
with_items:
|
|
- etcd
|
|
- etcdctl
|
|
when: etcd_cluster_setup
|