homelab/roles/docker/tasks/main.yml

22 lines
355 B
YAML

- name: install docker and pip
pacman:
name:
- docker
- python-pip
state: present
update_cache: true
- name: start
service:
name: docker
state: started
- name: add user to group
user:
name: lukas
groups: docker
append: true
- name: install python docker
pip:
name:
- docker
state: present