Fix docker for arch

This commit is contained in:
Przemek Grondek 2023-08-31 00:44:36 +02:00
parent 2ff4aacf1a
commit 8b6aba5dbc

View File

@ -5,3 +5,17 @@
name: name:
- docker - docker
- docker-compose - docker-compose
- name: "Enable service"
become: yes
ansible.builtin.systemd:
name: docker
state: started
enabled: yes
- name: add current user to docker group
become: yes
user:
name: "{{ ansible_user_id }}"
append: yes
groups: docker