initial commit

This commit is contained in:
Juul
2025-05-16 17:37:10 +02:00
commit 00e713e48f
11 changed files with 101 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
- name: Adding Docker GPG apt Key
apt_key:
url: https://download.docker.com/linux/ubuntu/gpg
state: present
- name: Adding Docker Repository
apt_repository:
repo: deb https://download.docker.com/linux/ubuntu focal stable
state: present
- name: Updating apt and installing docker-ce
apt:
name: docker-ce
state: latest
update_cache: true
- name: Ensuring docker group exists
group:
name: docker
state: present
- name: Add user to docker group
user:
name: juulk
groups: docker
append: yes