Fix mongodb_user default role value when update_password is set (#2997)

pull/18777/head
Lujeni 8 years ago committed by Matt Clay
parent 981d1d3f96
commit 477d174fbc

@ -315,7 +315,7 @@ def main():
ssl_cert_reqs = None
if ssl:
ssl_cert_reqs = getattr(ssl_lib, module.params['ssl_cert_reqs'])
roles = module.params['roles']
roles = module.params['roles'] or []
state = module.params['state']
update_password = module.params['update_password']

Loading…
Cancel
Save