32 lines
645 B
YAML
32 lines
645 B
YAML
|
---
|
||
|
- name: install docker dependencies
|
||
|
apt:
|
||
|
state: present
|
||
|
name:
|
||
|
- apt-transport-https
|
||
|
- ca-certificates
|
||
|
- curl
|
||
|
- gnupg-agent
|
||
|
- software-properties-common
|
||
|
|
||
|
- name: add docker apt key
|
||
|
apt_key:
|
||
|
url: https://download.docker.com/linux/debian/gpg
|
||
|
state: present
|
||
|
id: 9DC858229FC7DD38854AE2D88D81803C0EBFCD88
|
||
|
|
||
|
- name: add docker repo
|
||
|
apt_repository:
|
||
|
repo: deb [arch=amd64] https://download.docker.com/linux/debian buster stable
|
||
|
state: present
|
||
|
mode: 0600
|
||
|
|
||
|
- name: install docker-ce
|
||
|
apt:
|
||
|
state: present
|
||
|
name:
|
||
|
- docker-ce
|
||
|
- docker-ce-cli
|
||
|
- containerd.io
|
||
|
...
|