prevent usless assignment of home
This commit is contained in:
parent
045b8e8cff
commit
718fd1f891
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,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']
|
||||||
|
@ -269,6 +268,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