crypto: Fix incorrect type for privatekey_passphrase (#36868)

Fix incorrect type for privatekey_passphrase path -> str
pull/36781/head
Yanis Guenane 6 years ago committed by Michael Scherer
parent 41c066eff9
commit 6633eaa2c1

@ -797,7 +797,7 @@ def main():
# General properties of a certificate
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'),
subject=dict(type='dict'),
subject_strict=dict(type='bool', default=False),

@ -259,7 +259,7 @@ def main():
path=dict(required=True, type='path'),
privatekey_path=dict(type='path'),
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,
add_file_common_args=True,

Loading…
Cancel
Save