docker: use debian supplied packages

This commit is contained in:
Markus 2021-09-04 18:24:48 +02:00
parent 6c1c6b8abd
commit 0e7ecfca34

View File

@ -1,17 +1,7 @@
---
- name: Enable docker apt-key
apt_key: url='https://download.docker.com/linux/debian/gpg'
- name: Enable docker repository
apt_repository:
repo: 'deb https://download.docker.com/linux/debian {{ ansible_distribution_release }} stable'
filename: docker
- name: Install docker
apt:
name:
- docker-ce
- docker-ce-cli
- containerd.io
- docker.io
- python3-docker