--- - name: Download etcd binary include_tasks: "../../download/tasks/download_file.yml" vars: download: "{{ download_defaults | combine(downloads.etcd) }}" - name: Copy etcdctl and etcdutl binary from download dir copy: src: "{{ local_release_dir }}/etcd-v{{ etcd_version }}-linux-{{ host_architecture }}/{{ item }}" dest: "{{ bin_dir }}/{{ item }}" mode: "0755" remote_src: true with_items: - etcdctl - etcdutl - name: Create etcdctl wrapper script template: src: etcdctl.sh.j2 dest: "{{ bin_dir }}/etcdctl.sh" mode: "0755"