Remove redundant check for pyopenssl (#67901) (#67903)

(cherry picked from commit 44d8ce9b31)

Co-authored-by: gp <gp+github@gparent.net>
pull/67986/head
Felix Fontein 5 years ago committed by GitHub
parent 6e7383807a
commit ff3d3b59e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,2 @@
bugfixes:
- get_certificate - Fix cryptography backend when pyopenssl is unavailable (https://github.com/ansible/ansible/issues/67900)

@ -258,9 +258,6 @@ def main():
changed=False, changed=False,
) )
if not PYOPENSSL_FOUND:
module.fail_json(msg=missing_required_lib('pyOpenSSL >= 0.15'), exception=PYOPENSSL_IMP_ERR)
if timeout: if timeout:
setdefaulttimeout(timeout) setdefaulttimeout(timeout)

Loading…
Cancel
Save