mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 06:10:22 -07:00
crypto: Fix incorrect type for privatekey_passphrase (#36868)
Fix incorrect type for privatekey_passphrase path -> str
This commit is contained in:
parent
41c066eff9
commit
6633eaa2c1
2 changed files with 2 additions and 2 deletions
|
@ -797,7 +797,7 @@ def main():
|
||||||
|
|
||||||
# General properties of a certificate
|
# General properties of a certificate
|
||||||
privatekey_path=dict(type='path'),
|
privatekey_path=dict(type='path'),
|
||||||
privatekey_passphrase=dict(type='path', no_log=True),
|
privatekey_passphrase=dict(type='str', no_log=True),
|
||||||
signature_algorithms=dict(type='list'),
|
signature_algorithms=dict(type='list'),
|
||||||
subject=dict(type='dict'),
|
subject=dict(type='dict'),
|
||||||
subject_strict=dict(type='bool', default=False),
|
subject_strict=dict(type='bool', default=False),
|
||||||
|
|
|
@ -259,7 +259,7 @@ def main():
|
||||||
path=dict(required=True, type='path'),
|
path=dict(required=True, type='path'),
|
||||||
privatekey_path=dict(type='path'),
|
privatekey_path=dict(type='path'),
|
||||||
format=dict(type='str', choices=['PEM', 'OpenSSH'], default='PEM'),
|
format=dict(type='str', choices=['PEM', 'OpenSSH'], default='PEM'),
|
||||||
privatekey_passphrase=dict(type='path', no_log=True),
|
privatekey_passphrase=dict(type='str', no_log=True),
|
||||||
),
|
),
|
||||||
supports_check_mode=True,
|
supports_check_mode=True,
|
||||||
add_file_common_args=True,
|
add_file_common_args=True,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue