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

@@ -9,7 +9,7 @@
- name: CNI | Copy cni plugins
unarchive:
src: "{{ local_release_dir }}/cni-plugins-linux-{{ image_arch }}-{{ cni_version }}.tgz"
src: "{{ downloads.cni.dest }}"
dest: "/opt/cni/bin"
mode: 0755
remote_src: yes