diff --git a/system/user.py b/system/user.py index 33a3ba24d37..1045df70e67 100644 --- a/system/user.py +++ b/system/user.py @@ -253,7 +253,6 @@ class User(object): self.group = module.params['group'] self.groups = module.params['groups'] self.comment = module.params['comment'] - self.home = module.params['home'] self.shell = module.params['shell'] self.password = module.params['password'] self.force = module.params['force'] @@ -269,6 +268,7 @@ class User(object): self.ssh_comment = module.params['ssh_key_comment'] self.ssh_passphrase = module.params['ssh_key_passphrase'] self.update_password = module.params['update_password'] + self.home = None self.expires = None if module.params['home'] is not None: