mirror of
https://github.com/mother-of-all-self-hosting/mash-playbook
synced 2024-11-10 06:14:17 +00:00
Add mash_playbook_user_home
This commit is contained in:
parent
71f315d862
commit
bf6bc8d32a
2 changed files with 3 additions and 1 deletions
|
@ -7,6 +7,8 @@ mash_playbook_identifier: mash
|
|||
mash_playbook_user_username: "{{ mash_playbook_identifier }}"
|
||||
mash_playbook_user_groupname: "{{ mash_playbook_identifier }}"
|
||||
|
||||
mash_playbook_user_home: "{{ mash_playbook_base_path }}"
|
||||
|
||||
# By default, the playbook creates the user (`mash_playbook_user_username`)
|
||||
# and group (`mash_playbook_user_groupname`) with a random id.
|
||||
# To use a specific user/group id, override these variables.
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
uid: "{{ omit if mash_playbook_uid is none else mash_playbook_uid }}"
|
||||
state: present
|
||||
group: "{{ mash_playbook_user_groupname }}"
|
||||
home: "{{ mash_playbook_base_path }}"
|
||||
home: "{{ mash_playbook_user_home }}"
|
||||
create_home: false
|
||||
system: true
|
||||
register: mash_base_user_result
|
||||
|
|
Loading…
Reference in a new issue