mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
openssl_pkcs12: privatekey_path and friendly_name are not always required together (#54370)
* Removed required_together, updated tests Since required_together: privatekey_path -> friendly_name, is not always required it has been removed. Updated openssl_pkcs12 integration tests to be in line with other openssl_* modules, and added a test for export with no privatekey_path. * linter fixes * Removed cryptography from tests * Added changelog fragment * Removed non-necessary select_crypto_backend
This commit is contained in:
committed by
John R Barker
parent
1c6bc5ed4a
commit
df86b9ec3d
@@ -307,15 +307,10 @@ def main():
|
||||
['action', 'parse', ['src']],
|
||||
]
|
||||
|
||||
required_together = [
|
||||
['privatekey_path', 'friendly_name'],
|
||||
]
|
||||
|
||||
module = AnsibleModule(
|
||||
add_file_common_args=True,
|
||||
argument_spec=argument_spec,
|
||||
required_if=required_if,
|
||||
required_together=required_together,
|
||||
supports_check_mode=True,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user