Install etcdutl file by default (#10385)

This commit is contained in:
Samuel Liu
2023-08-23 22:04:22 +08:00
committed by GitHub
parent 5ed85094c2
commit e1881fae02
8 changed files with 68 additions and 99 deletions

View File

@@ -20,16 +20,7 @@
- etcd_events_cluster_setup
- etcd_version.lstrip('v') not in etcd_current_host_version.stdout | default('')
- 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 binary from download dir
copy:
src: "{{ local_release_dir }}/etcd-{{ etcd_version }}-linux-{{ host_architecture }}/{{ item }}"
dest: "{{ bin_dir }}/{{ item }}"
@@ -37,5 +28,4 @@
remote_src: yes
with_items:
- etcd
- etcdctl
when: etcd_cluster_setup