mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
reorder usermod options
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user