From 8abe22c917ae384a6b0d4956873e9dc9be44bd56 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sat, 19 Mar 2016 23:59:34 +0100 Subject: [PATCH] Fix ssl to be a bool, required to fix #1732 May also fix #1869 --- lib/ansible/modules/extras/database/misc/mongodb_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/database/misc/mongodb_user.py b/lib/ansible/modules/extras/database/misc/mongodb_user.py index 088a1de2bb..979bf66cc9 100644 --- a/lib/ansible/modules/extras/database/misc/mongodb_user.py +++ b/lib/ansible/modules/extras/database/misc/mongodb_user.py @@ -218,7 +218,7 @@ def main(): database=dict(required=True, aliases=['db']), name=dict(required=True, aliases=['user']), password=dict(aliases=['pass']), - ssl=dict(default=False), + ssl=dict(default=False, type='bool'), roles=dict(default=None, type='list'), state=dict(default='present', choices=['absent', 'present']), update_password=dict(default="always", choices=["always", "on_create"]),