mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-22 03:43:09 +00:00
update default home directory
Signed-off-by: Jack <jack4zhang@gmail.com>
This commit is contained in:
parent
e2d8b745dc
commit
b7739e1010
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@
|
|||
system: true
|
||||
shell: "/usr/sbin/nologin"
|
||||
group: "{{ _common_system_group }}"
|
||||
home: "{{ _common_config_dir | default('/') }}"
|
||||
home: "{{ _common_config_dir | default('/') | ternary(_common_config_dir, '/') }}"
|
||||
create_home: false
|
||||
become: true
|
||||
when: _common_system_user not in ansible_facts.getent_passwd
|
||||
|
|
Loading…
Reference in a new issue