diff --git a/roles/_common/tasks/install.yml b/roles/_common/tasks/install.yml index c4e5a5575..7ff5a852c 100644 --- a/roles/_common/tasks/install.yml +++ b/roles/_common/tasks/install.yml @@ -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