2022-01-02 16:30:56 +00:00
|
|
|
- name: Add apt key
|
2023-11-01 17:57:04 +00:00
|
|
|
ansible.builtin.apt_key:
|
2022-01-02 16:30:56 +00:00
|
|
|
url: https://download.docker.com/linux/debian/gpg
|
2023-11-01 17:57:04 +00:00
|
|
|
keyring: /etc/apt/trusted.gpg.d/docker.gpg
|
2022-01-02 16:30:56 +00:00
|
|
|
|
|
|
|
- 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
|