mirror of https://github.com/ansible/ansible.git
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>pull/59254/head
parent
2fbc226509
commit
d2edf1d435
@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- user - create parent directories when the specified home path has parent directiries that do not exist (https://github.com/ansible/ansible/issues/41393)
|
Loading…
Reference in New Issue