Added docker

This commit is contained in:
Michael Mandl 2021-01-30 14:34:28 +01:00
parent e04b2b37be
commit 2990cb7bf8
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7
2 changed files with 21 additions and 0 deletions

View file

@ -19,6 +19,7 @@
- vimwiki - vimwiki
- tools - tools
- acpid - acpid
- docker
- wayland - wayland
tasks: tasks:

View file

@ -0,0 +1,20 @@
---
- name: install packages
package:
name:
- docker
- docker-compose
state: latest
- name: activate daemon
systemd:
name: docker
enabled: yes
state: started
- name: add user to docker group
user:
name: "{{ account.name }}"
groups: docker
append: yes