Add download bin tasks (#7131)
* Add downlaod bin tasks * Add tags never and etcd * yamllint
This commit is contained in:
parent
404ea0270e
commit
1a409dc7ae
1 changed files with 11 additions and 2 deletions
|
@ -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
|
- name: install | Copy etcd and etcdctl binary from download dir
|
||||||
copy:
|
copy:
|
||||||
src: "{{ local_release_dir }}/etcd-{{ etcd_version }}-linux-{{ host_architecture }}/{{ item }}"
|
src: "{{ local_release_dir }}/etcd-{{ etcd_version }}-linux-{{ host_architecture }}/{{ item }}"
|
||||||
|
@ -6,6 +15,6 @@
|
||||||
mode: 0755
|
mode: 0755
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
with_items:
|
with_items:
|
||||||
- etcd
|
- etcd
|
||||||
- etcdctl
|
- etcdctl
|
||||||
when: etcd_cluster_setup
|
when: etcd_cluster_setup
|
||||||
|
|
Loading…
Reference in a new issue