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

21 lines
469 B
YAML
Raw Permalink Normal View History

2024-01-13 17:26:23 +00:00
---
- 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:
2024-01-13 17:26:23 +00:00
repo: deb [arch={{ arch | default('armhf') }}] https://download.docker.com/linux/debian bookworm stable
state: present
filename: 'docker'
- meta: flush_handlers
- name: Install containerd.io
apt:
name:
- containerd.io
state: present