robocar-setup/ansible/roles/k3s/tasks/containerd.yml

20 lines
491 B
YAML

- name: Add apt key
ansible.builtin.apt_key:
url: https://download.docker.com/linux/debian/gpg
keyring: /etc/apt/trusted.gpg.d/docker.gpg
- name: Add docker-ce repository
apt_repository:
repo: deb [arch={{ arch | default('armhf') }}] https://download.docker.com/linux/debian {{ ansible_distribution_release }} stable
state: present
filename: 'docker'
- meta: flush_handlers
- name: Install containerd.io
apt:
name:
- containerd.io
state: present