mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-07 22:03:01 +00:00
Prepare release (#75)
* Improve changelog generator config. * We don't have docs at that URL. * Require Ansible(-base) 2.9.10 or newer. Needed for deprecation syntax. * Update all deprecations from Ansible 2.1x to community.crypto 2.0.0. * Forgot to check in fixes. * Shorten lines. * Fix unit test requirements. * Fix YAML strings which only had a closing quote. * Galaxy neither likes uppercase nor spaces in tags. * General README improvements. * Add roadmap section to README. * Next release will be 1.0.0. * Extend using instructions. * Tags with dashes are also not allowed. * Fix changelog link.
This commit is contained in:
@@ -14,10 +14,10 @@ author: "John Westcott IV (@john-westcott-iv)"
|
||||
short_description: Get a certificate from a host:port
|
||||
description:
|
||||
- Makes a secure connection and returns information about the presented certificate
|
||||
- The module can use the cryptography Python library, or the pyOpenSSL Python
|
||||
- "The module can use the cryptography Python library, or the pyOpenSSL Python
|
||||
library. By default, it tries to detect which one is available. This can be
|
||||
overridden with the I(select_crypto_backend) option. Please note that the PyOpenSSL
|
||||
backend was deprecated in Ansible 2.9 and will be removed in Ansible 2.13."
|
||||
backend was deprecated in Ansible 2.9 and will be removed in community.crypto 2.0.0."
|
||||
options:
|
||||
host:
|
||||
description:
|
||||
@@ -245,7 +245,8 @@ def main():
|
||||
if not PYOPENSSL_FOUND:
|
||||
module.fail_json(msg=missing_required_lib('pyOpenSSL >= {0}'.format(MINIMAL_PYOPENSSL_VERSION)),
|
||||
exception=PYOPENSSL_IMP_ERR)
|
||||
module.deprecate('The module is using the PyOpenSSL backend. This backend has been deprecated', version='2.13')
|
||||
module.deprecate('The module is using the PyOpenSSL backend. This backend has been deprecated',
|
||||
version='2.0.0', collection_name='community.crypto')
|
||||
elif backend == 'cryptography':
|
||||
if not CRYPTOGRAPHY_FOUND:
|
||||
module.fail_json(msg=missing_required_lib('cryptography >= {0}'.format(MINIMAL_CRYPTOGRAPHY_VERSION)),
|
||||
|
||||
Reference in New Issue
Block a user