Fix assert_required_cryptography_version() calls.

This commit is contained in:
Felix Fontein
2025-05-03 12:55:50 +02:00
parent 83beb7148c
commit 12f958c955
20 changed files with 60 additions and 20 deletions

View File

@@ -428,7 +428,9 @@ def main():
mutually_exclusive=(["privatekey_path", "privatekey_content"],),
)
assert_required_cryptography_version(MINIMAL_CRYPTOGRAPHY_VERSION)
assert_required_cryptography_version(
module, minimum_cryptography_version=MINIMAL_CRYPTOGRAPHY_VERSION
)
base_dir = os.path.dirname(module.params["path"]) or "."
if not os.path.isdir(base_dir):