mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-21 19:33:04 +00:00
Update roles/_common/tasks/install.yml
Co-authored-by: gardar <gardar@users.noreply.github.com> Signed-off-by: Jack <jack4zhang@gmail.com>
This commit is contained in:
parent
b7739e1010
commit
5bba79eb9d
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('/') | ternary(_common_config_dir, '/') }}"
|
||||
home: "{{ _common_config_dir | default('/', true) }}"
|
||||
create_home: false
|
||||
become: true
|
||||
when: _common_system_user not in ansible_facts.getent_passwd
|
||||
|
|
Loading…
Reference in a new issue