acme_challenge_cert_helper: fix bad module.fail_json() call (#51795)

* Fix bad module.fail_json() call.

* Add changelog.
This commit is contained in:
Felix Fontein 2019-02-06 06:45:35 +01:00 committed by Jordan Borean
commit c9b08db979
2 changed files with 3 additions and 1 deletions

View file

@ -179,7 +179,7 @@ def main():
),
)
if not HAS_CRYPTOGRAPHY:
module.fail(msg='cryptography >= 1.3 is required for this module.')
module.fail_json(msg='cryptography >= 1.3 is required for this module.')
try:
# Get parameters