Commit 2c3b1db5 authored by Chris Croome's avatar Chris Croome

default to user when group isn't defined

parent 9f32d292
Pipeline #8497 passed with stage
in 22 seconds
......@@ -393,7 +393,7 @@
dest: "{{ user.value.users_home | default(users_basedir + '/' + user.key) }}/.muttrc"
force: false
owner: "{{ user.key }}"
group: "{{ user.value.users_group }}"
group: "{{ user.value.users_group | default(user.key) }}"
mode: 0644
loop: "{{ users | dict2items }}"
loop_control:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment