2019-12-19 20:37:57 +08:00
|
|
|
---
|
2023-07-26 22:36:22 +08:00
|
|
|
- name: Crictl | Download crictl
|
2019-12-19 20:37:57 +08:00
|
|
|
include_tasks: "../../../download/tasks/download_file.yml"
|
|
|
|
vars:
|
|
|
|
download: "{{ download_defaults | combine(downloads.crictl) }}"
|
|
|
|
|
2020-07-28 16:21:08 +08:00
|
|
|
- name: Install crictl config
|
2019-12-19 20:37:57 +08:00
|
|
|
template:
|
2020-12-06 01:43:25 +08:00
|
|
|
src: crictl.yaml.j2
|
2019-12-19 20:37:57 +08:00
|
|
|
dest: /etc/crictl.yaml
|
2021-02-06 01:28:53 +08:00
|
|
|
owner: root
|
2024-07-26 09:42:20 +08:00
|
|
|
mode: "0644"
|
2019-12-19 20:37:57 +08:00
|
|
|
|
|
|
|
- name: Copy crictl binary from download dir
|
2020-12-01 07:12:50 +08:00
|
|
|
copy:
|
2019-12-19 20:37:57 +08:00
|
|
|
src: "{{ local_release_dir }}/crictl"
|
|
|
|
dest: "{{ bin_dir }}/crictl"
|
2024-07-26 09:42:20 +08:00
|
|
|
mode: "0755"
|
2020-12-01 07:12:50 +08:00
|
|
|
remote_src: true
|
2020-12-06 01:43:25 +08:00
|
|
|
notify:
|
|
|
|
- Get crictl completion
|
|
|
|
- Install crictl completion
|