mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
-o and -r option don't exist on AIX
This commit is contained in:
parent
c0f138db1f
commit
58d59c180d
1 changed files with 0 additions and 9 deletions
|
@ -894,9 +894,6 @@ class AIX(User):
|
||||||
cmd.append('-u')
|
cmd.append('-u')
|
||||||
cmd.append(self.uid)
|
cmd.append(self.uid)
|
||||||
|
|
||||||
if self.non_unique:
|
|
||||||
cmd.append('-o')
|
|
||||||
|
|
||||||
if self.group is not None:
|
if self.group is not None:
|
||||||
if not self.group_exists(self.group):
|
if not self.group_exists(self.group):
|
||||||
self.module.fail_json(msg="Group %s does not exist" % self.group)
|
self.module.fail_json(msg="Group %s does not exist" % self.group)
|
||||||
|
@ -925,9 +922,6 @@ class AIX(User):
|
||||||
if self.createhome:
|
if self.createhome:
|
||||||
cmd.append('-m')
|
cmd.append('-m')
|
||||||
|
|
||||||
if self.system:
|
|
||||||
cmd.append('-r')
|
|
||||||
|
|
||||||
cmd.append(self.name)
|
cmd.append(self.name)
|
||||||
(rc, out, err) = self.execute_command(cmd)
|
(rc, out, err) = self.execute_command(cmd)
|
||||||
|
|
||||||
|
@ -950,9 +944,6 @@ class AIX(User):
|
||||||
cmd.append('-u')
|
cmd.append('-u')
|
||||||
cmd.append(self.uid)
|
cmd.append(self.uid)
|
||||||
|
|
||||||
if self.non_unique:
|
|
||||||
cmd.append('-o')
|
|
||||||
|
|
||||||
if self.group is not None:
|
if self.group is not None:
|
||||||
if not self.group_exists(self.group):
|
if not self.group_exists(self.group):
|
||||||
self.module.fail_json(msg="Group %s does not exist" % self.group)
|
self.module.fail_json(msg="Group %s does not exist" % self.group)
|
||||||
|
|
Loading…
Reference in a new issue