kubespray/roles/container-engine/youki/tasks/main.yml

13 lines
433 B
YAML
Raw Normal View History

2022-01-22 06:01:07 +08:00
---
- name: Youki | Download youki
2022-01-22 06:01:07 +08:00
include_tasks: "../../../download/tasks/download_file.yml"
vars:
download: "{{ download_defaults | combine(downloads.youki) }}"
- name: Youki | Copy youki binary from download dir
2022-01-22 06:01:07 +08:00
copy:
src: "{{ local_release_dir }}/youki_{{ youki_version | regex_replace('\\.', '_') }}_linux/youki-{{ youki_version }}/youki"
2022-01-22 06:01:07 +08:00
dest: "{{ youki_bin_dir }}/youki"
mode: 0755
remote_src: true