ansible/roles/docker/tasks/main.yml
Markus Hauschild 9c9258863a
Some checks failed
continuous-integration/drone/push Build is failing
docker: use ansible_distribution_release
2021-08-16 17:15:15 +02:00

18 lines
387 B
YAML

---
- 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
- python3-docker