mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 04:11:25 -07:00
parent
95b31a3b61
commit
bd321a0af6
1 changed files with 4 additions and 1 deletions
|
@ -396,6 +396,9 @@ class User(object):
|
||||||
cmd.append(self.password)
|
cmd.append(self.password)
|
||||||
|
|
||||||
if self.create_home:
|
if self.create_home:
|
||||||
|
if self.local:
|
||||||
|
cmd.append('-M')
|
||||||
|
else:
|
||||||
cmd.append('-m')
|
cmd.append('-m')
|
||||||
|
|
||||||
if self.skeleton is not None:
|
if self.skeleton is not None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue