From 5efeeb156ba82eb2e335f1701b0462e5803c2dd5 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Fri, 10 Jul 2015 13:51:04 -0400 Subject: [PATCH] Correctly default crypt_scheme in htpasswd --- lib/ansible/modules/web_infrastructure/htpasswd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/web_infrastructure/htpasswd.py b/lib/ansible/modules/web_infrastructure/htpasswd.py index e567a776559..361a131ef2d 100644 --- a/lib/ansible/modules/web_infrastructure/htpasswd.py +++ b/lib/ansible/modules/web_infrastructure/htpasswd.py @@ -190,7 +190,7 @@ def main(): path=dict(required=True, aliases=["dest", "destfile"]), name=dict(required=True, aliases=["username"]), password=dict(required=False, default=None), - crypt_scheme=dict(required=False, default=None), + crypt_scheme=dict(required=False, default="apr_md5_crypt"), state=dict(required=False, default="present"), create=dict(type='bool', default='yes'),