docker: use debian packages instead of upstream
This commit is contained in:
parent
6b5c59183e
commit
5f39fd3ea7
@ -1,17 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- 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
|
- name: Install docker
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
- docker-ce
|
- docker.io
|
||||||
- docker-ce-cli
|
|
||||||
- containerd.io
|
|
||||||
- python3-docker
|
- python3-docker
|
||||||
|
|
||||||
|
- name: Enable docker
|
||||||
|
service: name=docker state=started enabled=yes
|
||||||
|
Loading…
Reference in New Issue
Block a user