Update docker-users.yml

change group to groups otherwise primary group of users wil be changed
This commit is contained in:
larsmaes 2018-06-07 14:43:13 +02:00 committed by GitHub
parent abd8e3625e
commit 9205f56172
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 }}"