mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix mongodb_user default role value when update_password is set (#2997)
This commit is contained in:
parent
981d1d3f96
commit
477d174fbc
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ def main():
|
||||||
ssl_cert_reqs = None
|
ssl_cert_reqs = None
|
||||||
if ssl:
|
if ssl:
|
||||||
ssl_cert_reqs = getattr(ssl_lib, module.params['ssl_cert_reqs'])
|
ssl_cert_reqs = getattr(ssl_lib, module.params['ssl_cert_reqs'])
|
||||||
roles = module.params['roles']
|
roles = module.params['roles'] or []
|
||||||
state = module.params['state']
|
state = module.params['state']
|
||||||
update_password = module.params['update_password']
|
update_password = module.params['update_password']
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue