diff --git a/library/user b/library/user index 1511b3aca4..64a3a2ede1 100644 --- a/library/user +++ b/library/user @@ -367,7 +367,7 @@ class User(object): if len(cmd) == 1: return (None, '', '') elif self.module.check_mode: - return (True, '', '') + return (0, '', '') cmd.append(self.name) return self.execute_command(cmd)