mirror of
https://github.com/Maks1mS/ansible-role-docker.git
synced 2024-12-25 17:14:44 +03:00
Update user's group membership, not primary group
This commit is contained in:
parent
abd8e3625e
commit
8034040c69
@ -2,6 +2,6 @@
|
|||||||
- name: Ensure docker users are added to the docker group.
|
- name: Ensure docker users are added to the docker group.
|
||||||
user:
|
user:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
group: docker
|
groups: docker
|
||||||
append: yes
|
append: yes
|
||||||
with_items: "{{ docker_users }}"
|
with_items: "{{ docker_users }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user