update
This commit is contained in:
22
kubespray/roles/container-engine/crictl/tasks/crictl.yml
Normal file
22
kubespray/roles/container-engine/crictl/tasks/crictl.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
- name: crictl | Download crictl
|
||||
include_tasks: "../../../download/tasks/download_file.yml"
|
||||
vars:
|
||||
download: "{{ download_defaults | combine(downloads.crictl) }}"
|
||||
|
||||
- name: Install crictl config
|
||||
template:
|
||||
src: crictl.yaml.j2
|
||||
dest: /etc/crictl.yaml
|
||||
owner: root
|
||||
mode: 0644
|
||||
|
||||
- name: Copy crictl binary from download dir
|
||||
copy:
|
||||
src: "{{ local_release_dir }}/crictl"
|
||||
dest: "{{ bin_dir }}/crictl"
|
||||
mode: 0755
|
||||
remote_src: true
|
||||
notify:
|
||||
- Get crictl completion
|
||||
- Install crictl completion
|
||||
3
kubespray/roles/container-engine/crictl/tasks/main.yml
Normal file
3
kubespray/roles/container-engine/crictl/tasks/main.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
- name: install crictĺ
|
||||
include_tasks: crictl.yml
|
||||
Reference in New Issue
Block a user