No, adding 'createhome=no' stops it creating a home directory and is what I
am currently using (in addition to system=yes) as a workaround to get the
desired result.
I just tested and the home directory is created on the first run - on
initial user creation.
I also tested manually running a 'u
Does this happen if you supply `createhome=no`?
Also is the home directory created on the initial user creation or
subsequent runs?
It looks like the user module does add `-r` to the command, however I see
some code that may create the homedir regardless of `system=yes` on
subsequent runs after t
Creating a user using the core user module and using the 'system' property
still seems to create a home directory:
- name: create test user
user:
name=test
system=yes
The resulting user has a home directory when applying this to a Centos 7
host.
According to 'man useradd', creating