1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-05-30 04:51:01 +00:00
community.general/lib
gyurco bc8e8173ad mongodb_user: properly guard user adding with try...except (#2582)
The user adding part is not properly guarded by a try...except
block, so pymongo exceptions can escape from it.
Also there's a double-guarding where roles are given.

Fixes: #2575
2016-12-08 11:34:32 -05:00
..
ansible mongodb_user: properly guard user adding with try...except (#2582) 2016-12-08 11:34:32 -05:00