This repository has been archived on 2022-01-10. You can view files and clone it, but cannot push or open issues or pull requests.
2021-08-30 17:22:41 +02:00
|
|
|
- name: "Add apt key for Docker"
|
|
|
|
apt_key:
|
|
|
|
url: "https://download.docker.com/linux/ubuntu/gpg"
|
|
|
|
state: present
|
|
|
|
|
|
|
|
- name: "Add Docker repository"
|
|
|
|
apt_repository:
|
2021-08-30 17:28:00 +02:00
|
|
|
repo: "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
|
2021-08-30 17:22:41 +02:00
|
|
|
state: present
|
|
|
|
|
|
|
|
- name: "Install Docker"
|
|
|
|
apt:
|
|
|
|
state: present
|
2021-08-30 17:35:04 +02:00
|
|
|
pkg:
|
|
|
|
- docker-ce
|
|
|
|
- docker-ce-cli
|
|
|
|
- containerd.io
|
|
|
|
- docker-compose
|