mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
reorder usermod options
This commit is contained in:
parent
ff8eb5f454
commit
5c4bb5730e
1 changed files with 1 additions and 1 deletions
|
@ -389,9 +389,9 @@ class User(object):
|
|||
cmd.append(self.comment)
|
||||
|
||||
if self.home is not None and info[5] != self.home:
|
||||
cmd.append('-m')
|
||||
cmd.append('-d')
|
||||
cmd.append(self.home)
|
||||
cmd.append('-m')
|
||||
|
||||
if self.shell is not None and info[6] != self.shell:
|
||||
cmd.append('-s')
|
||||
|
|
Loading…
Reference in a new issue