Use a uniform way to get the local path of the binaries (#10211)

Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
This commit is contained in:
ERIK
2023-06-12 15:39:48 +08:00
committed by GitHub
parent fc5937e948
commit ce13699dfa
5 changed files with 6 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
---
- name: install | Copy kubeadm binary from download dir
copy:
src: "{{ local_release_dir }}/kubeadm-{{ kubeadm_version }}-{{ image_arch }}"
src: "{{ downloads.kubeadm.dest }}"
dest: "{{ bin_dir }}/kubeadm"
mode: 0755
remote_src: true
@@ -12,7 +12,7 @@
- name: install | Copy kubelet binary from download dir
copy:
src: "{{ local_release_dir }}/kubelet-{{ kube_version }}-{{ image_arch }}"
src: "{{ downloads.kubelet.dest }}"
dest: "{{ bin_dir }}/kubelet"
mode: 0755
remote_src: true