Add download bin tasks (#7131)

* Add downlaod bin tasks

* Add tags never and etcd

* yamllint
pull/7214/head
Samuel Liu 2021-01-23 12:41:39 +08:00 committed by GitHub
parent 404ea0270e
commit 1a409dc7ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 2 deletions

View File

@ -1,4 +1,13 @@
---
- name: install | Download etcd and etcdctl
include_tasks: "../../download/tasks/download_file.yml"
vars:
download: "{{ download_defaults | combine(downloads.etcd) }}"
when: etcd_cluster_setup
tags:
- never
- etcd
- name: install | Copy etcd and etcdctl binary from download dir
copy:
src: "{{ local_release_dir }}/etcd-{{ etcd_version }}-linux-{{ host_architecture }}/{{ item }}"