misc/system_user: Allowed configuring user directory parameters

wip
Felix Stupp 5 years ago
parent 0ea1dac688
commit 5afcd6b738
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -3,3 +3,6 @@
# system_user # system_user
user_shell_binary: "/bin/false" user_shell_binary: "/bin/false"
# user_directory # user_directory
user_directory_owner: "{{ system_user }}"
user_directory_group: "{{ system_user }}"
user_directory_mode: "u=rwx,g=rx,o="

@ -12,6 +12,6 @@
file: file:
path: "{{ user_directory }}" path: "{{ user_directory }}"
state: directory state: directory
owner: "{{ system_user }}" owner: "{{ user_directory_owner }}"
group: "{{ system_user }}" group: "{{ user_directory_group }}"
mode: "u=rwx,g=rx" mode: "{{ user_directory_mode }}"

Loading…
Cancel
Save