Skip to content
Snippets Groups Projects
Commit a17d0352 authored by nimrod's avatar nimrod
Browse files

- Add user to the docker group.

parent dee15794
Branches
No related tags found
No related merge requests found
...@@ -57,6 +57,13 @@ ...@@ -57,6 +57,13 @@
interface: '{{ item }}' interface: '{{ item }}'
rule: allow rule: allow
- name: Add user to the docker group
user:
name: '{{ ansible_env.SUDO_USER }}'
groups: docker
append: True
state: present
- name: Create Docker graph directory - name: Create Docker graph directory
with_items: with_items:
- path: '{{ docker_graph_directory|basename }}' - path: '{{ docker_graph_directory|basename }}'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment