Add role for Docker

This commit is contained in:
Oliver Traber 2024-06-01 21:55:38 +02:00
parent 0106d6a95e
commit d0db9aac63
Signed by: Bluemedia
GPG key ID: C0674B105057136C
2 changed files with 25 additions and 0 deletions

View file

@ -9,4 +9,5 @@
#- vlc
#- vs-code
#- qemu-kvm
#- docker
#- discord

View file

@ -0,0 +1,24 @@
- name: Add Docker repository
become: yes
deb822_repository:
name: docker
types: deb
uris: https://download.docker.com/linux/debian
suites: bookworm
components: stable
signed_by: https://download.docker.com/linux/debian/gpg
state: present
enabled: yes
- name: Install packages
become: yes
apt:
state: latest
update_cache: true
install_recommends: false
name:
- docker-ce
- docker-ce-cli
- containerd.io
- docker-buildx-plugin
- docker-compose-plugin