mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Refactored docker role
This commit is contained in:
11
roles/pc-docker/tasks/main.yml
Normal file
11
roles/pc-docker/tasks/main.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
- name: install docker
|
||||
community.general.pacman:
|
||||
name:
|
||||
- docker
|
||||
- docker-compose
|
||||
state: present
|
||||
|
||||
- name: Adding user {{client_username}} to relevant docker usergroup
|
||||
user: name={{client_username}}
|
||||
groups=docker
|
||||
append=yes
|
Reference in New Issue
Block a user