ansible/test/integration/targets/user
Sam Doran d2edf1d435 User - Create parent directories if they do not exist in the specified home path (#51043)
* Create a user home directory if it has parents that do not exist

The useradd command line tool does not create parent directories. Check if the specified home path has parents that do not exist. If so, create them prior to running useradd, then set the proper permission on the created directory.

Add tests

Signed-off-by: Sam Doran <sdoran@redhat.com>

* Use dict for default user group in tests

Signed-off-by: Sam Doran <sdoran@redhat.com>

* Fix tests

Signed-off-by: Sam Doran <sdoran@redhat.com>
2019-07-18 10:19:11 -04:00
..
files
meta
tasks User - Create parent directories if they do not exist in the specified home path (#51043) 2019-07-18 10:19:11 -04:00
vars User - Create parent directories if they do not exist in the specified home path (#51043) 2019-07-18 10:19:11 -04:00
aliases