mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2025-09-21 17:51:38 +02:00
Add the user to the docker group
This commit is contained in:
parent
2b507a374e
commit
7de1216642
@ -14,5 +14,12 @@
|
|||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
|
||||||
|
- name: Add default user to the docker group
|
||||||
|
user:
|
||||||
|
name: admin
|
||||||
|
groups: docker
|
||||||
|
append: yes
|
||||||
|
when: ansible_os_family == 'Debian'
|
||||||
|
|
||||||
- include: docker-compose.yml
|
- include: docker-compose.yml
|
||||||
when: docker_install_compose
|
when: docker_install_compose
|
||||||
|
Loading…
Reference in New Issue
Block a user