module mongodb_user fix roles default value (#46443) (#46526)

* module mongodb_user fix roles default value (#46443)

* mongodb_user remove ignoring test E324

* mongodb_user add changelog (#464443)

* mongodb_user change doc to set parameter roles as None (#464443)

* mongodb_user fix lint in changelog fragment (#464443)

* mongodb_user : remove E325 exception in test
pull/51198/head
Jonathan 6 years ago committed by ansibot
parent c1bc556b0a
commit 20936bbc3d

@ -0,0 +1,2 @@
minor_changes:
- mongodb_user - Change value for parameter roles to empty (https://github.com/ansible/ansible/issues/46443)

@ -77,7 +77,6 @@ options:
'dbAdminAnyDatabase'
- "Or the following dictionary '{ db: DATABASE_NAME, role: ROLE_NAME }'."
- "This param requires pymongo 2.5+. If it is a string, mongodb 2.4+ is also required. If it is a dictionary, mongo 2.6+ is required."
default: "readWrite"
state:
description:
- The database user state

@ -377,7 +377,6 @@ lib/ansible/modules/database/mongodb/mongodb_parameter.py E317
lib/ansible/modules/database/mongodb/mongodb_parameter.py E323
lib/ansible/modules/database/mongodb/mongodb_parameter.py E326
lib/ansible/modules/database/mongodb/mongodb_user.py E322
lib/ansible/modules/database/mongodb/mongodb_user.py E324
lib/ansible/modules/database/mysql/mysql_replication.py E325
lib/ansible/modules/database/mysql/mysql_replication.py E326
lib/ansible/modules/database/mysql/mysql_user.py E322

Loading…
Cancel
Save