Correctly default crypt_scheme in htpasswd

This commit is contained in:
James Cammarata 2015-07-10 13:51:04 -04:00 committed by Matt Clay
parent 18b157fbac
commit 5efeeb156b

View file

@ -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'),