1
0
Fork 0
home-ansible/roles/docker/tasks/main.yml

20 lines
466 B
YAML

---
- name: Add apt key for docker
apt_key:
url: https://download.docker.com/linux/debian/gpg
state: present
- name: Add docker repository into sources list
apt_repository:
repo: deb https://download.docker.com/linux/debian bullseye stable
state: present
- name: Install docker packages
apt:
name:
- docker-ce
- docker-ce-cli
- containerd.io
- docker-buildx-plugin
- docker-compose-plugin
state: present