2022-03-16 23:28:11 +00:00
|
|
|
---
|
|
|
|
- name: runc | Download cri-dockerd binary
|
|
|
|
include_tasks: "../../../download/tasks/download_file.yml"
|
|
|
|
vars:
|
|
|
|
download: "{{ download_defaults | combine(downloads.cri_dockerd) }}"
|
|
|
|
|
|
|
|
- name: Copy cri-dockerd binary from download dir
|
|
|
|
copy:
|
|
|
|
src: "{{ local_release_dir }}/cri-dockerd"
|
|
|
|
dest: "{{ bin_dir }}/cri-dockerd"
|
|
|
|
mode: 0755
|
|
|
|
remote_src: true
|
|
|
|
notify:
|
2022-08-22 14:17:43 +00:00
|
|
|
- restart and enable cri-dockerd
|
2022-03-16 23:28:11 +00:00
|
|
|
|
|
|
|
- name: Generate cri-dockerd systemd unit files
|
|
|
|
template:
|
|
|
|
src: "{{ item }}.j2"
|
|
|
|
dest: "/etc/systemd/system/{{ item }}"
|
|
|
|
mode: 0644
|
|
|
|
with_items:
|
|
|
|
- cri-dockerd.service
|
|
|
|
- cri-dockerd.socket
|
|
|
|
notify:
|
2022-08-22 14:17:43 +00:00
|
|
|
- restart and enable cri-dockerd
|