mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-07 22:03:01 +00:00
Code refactoring (#889)
* Add __all__ to all module and plugin utils. * Convert quite a few positional args to keyword args. * Avoid Python 3.8+ syntax.
This commit is contained in:
@@ -203,7 +203,9 @@ def main() -> t.NoReturn:
|
||||
"selfsigned": SelfSignedCertificateProvider,
|
||||
}
|
||||
|
||||
module_backend = select_backend(module, provider_map[provider]())
|
||||
module_backend = select_backend(
|
||||
module=module, provider=provider_map[provider]()
|
||||
)
|
||||
certificate = GenericCertificate(module, module_backend)
|
||||
certificate.generate(module)
|
||||
result = certificate.dump()
|
||||
|
||||
Reference in New Issue
Block a user