Take docker groups from user entry in inventory
This commit is contained in:
parent
ddb2ff9229
commit
bcc893df7e
1 changed files with 3 additions and 2 deletions
|
@ -79,7 +79,8 @@
|
||||||
|
|
||||||
- name: Place admin users in docker group
|
- name: Place admin users in docker group
|
||||||
user:
|
user:
|
||||||
name: "{{ item }}"
|
name: "{{ item.logname }}"
|
||||||
groups: docker
|
groups: docker
|
||||||
append: yes
|
append: yes
|
||||||
with_items: "{{ docker_users }}"
|
when: item.docker == true
|
||||||
|
with_items: "{{ users }}"
|
||||||
|
|
Loading…
Reference in a new issue