Commit 9f32d292 authored by Chris Croome's avatar Chris Croome

users group variable default added

parent 36bf2c8a
Pipeline #8496 passed with stage
in 23 seconds
......@@ -370,7 +370,7 @@
src: templates/forward.j2
dest: "{{ user.value.users_home | default(users_basedir + '/' + user.key) }}/.forward"
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