Fix docker for arch
This commit is contained in:
parent
2ff4aacf1a
commit
8b6aba5dbc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user