prevent usless assignment of home
This commit is contained in:
parent
ac41e7c669
commit
7a6c8251dd
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,6 @@ class User(object):
|
||||||
self.group = module.params['group']
|
self.group = module.params['group']
|
||||||
self.groups = module.params['groups']
|
self.groups = module.params['groups']
|
||||||
self.comment = module.params['comment']
|
self.comment = module.params['comment']
|
||||||
self.home = module.params['home']
|
|
||||||
self.shell = module.params['shell']
|
self.shell = module.params['shell']
|
||||||
self.password = module.params['password']
|
self.password = module.params['password']
|
||||||
self.force = module.params['force']
|
self.force = module.params['force']
|
||||||
|
@ -274,6 +273,7 @@ class User(object):
|
||||||
self.ssh_comment = module.params['ssh_key_comment']
|
self.ssh_comment = module.params['ssh_key_comment']
|
||||||
self.ssh_passphrase = module.params['ssh_key_passphrase']
|
self.ssh_passphrase = module.params['ssh_key_passphrase']
|
||||||
self.update_password = module.params['update_password']
|
self.update_password = module.params['update_password']
|
||||||
|
self.home = None
|
||||||
self.expires = None
|
self.expires = None
|
||||||
|
|
||||||
if module.params['home'] is not None:
|
if module.params['home'] is not None:
|
||||||
|
|
Loading…
Reference in a new issue