From 973eb69911a208d12766e054c386a0c936b25fa4 Mon Sep 17 00:00:00 2001 From: madema Date: Thu, 16 May 2013 14:30:42 +0200 Subject: [PATCH] -o and -r option don't exist on AIX --- system/user | 9 --------- 1 file changed, 9 deletions(-) diff --git a/system/user b/system/user index 9cf665965c3..1fa114f8a87 100644 --- a/system/user +++ b/system/user @@ -894,9 +894,6 @@ class AIX(User): cmd.append('-u') cmd.append(self.uid) - if self.non_unique: - cmd.append('-o') - if self.group is not None: if not self.group_exists(self.group): self.module.fail_json(msg="Group %s does not exist" % self.group) @@ -925,9 +922,6 @@ class AIX(User): if self.createhome: cmd.append('-m') - if self.system: - cmd.append('-r') - cmd.append(self.name) (rc, out, err) = self.execute_command(cmd) @@ -950,9 +944,6 @@ class AIX(User): cmd.append('-u') cmd.append(self.uid) - if self.non_unique: - cmd.append('-o') - if self.group is not None: if not self.group_exists(self.group): self.module.fail_json(msg="Group %s does not exist" % self.group)