mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-07 05:43:06 +00:00
Get rid of backend parameter whenever possible (#883)
* Get rid of backend parameter whenever possible. * Always auto-detect if backend choices are 'cryptography' and 'auto', resp. always check cryptography version. * Improve error message. * Update documentation.
This commit is contained in:
@@ -340,8 +340,7 @@ def main():
|
||||
)
|
||||
|
||||
try:
|
||||
backend = module.params["select_crypto_backend"]
|
||||
backend, module_backend = select_backend(module, backend)
|
||||
module_backend = select_backend(module)
|
||||
|
||||
csr = CertificateSigningRequestModule(module, module_backend)
|
||||
if module.params["state"] == "present":
|
||||
|
||||
Reference in New Issue
Block a user