mirror of
https://github.com/Maks1mS/ansible-role-docker.git
synced 2025-10-09 05:57:15 +03:00
7
tasks/docker-users.yml
Normal file
7
tasks/docker-users.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
- name: Ensure docker users are added to the docker group.
|
||||
user:
|
||||
name: "{{ item }}"
|
||||
group: docker
|
||||
append: yes
|
||||
with_items: "{{ docker_users }}"
|
@@ -23,3 +23,6 @@
|
||||
|
||||
- include_tasks: docker-compose.yml
|
||||
when: docker_install_compose
|
||||
|
||||
- include: docker-users.yml
|
||||
when: docker_users
|
||||
|
Reference in New Issue
Block a user