mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-31 03:44:41 +00:00
ipaserver: Set hsm attributes to None for now
The HSM parameters
token_name
token_library_path
token_password
token_password_file
are set to None to enable deployment with IPA 4.12 as a workaround till
HSM can be fully supported by the ipaserver role.
This commit is contained in:
@@ -305,6 +305,12 @@ def main():
|
||||
options.dirsrv_cert_files = ansible_module.params.get('dirsrv_cert_files')
|
||||
options._dirsrv_pkcs12_info = ansible_module.params.get(
|
||||
'_dirsrv_pkcs12_info')
|
||||
# hsm
|
||||
if hasattr(ca, "hsm_version"):
|
||||
options.token_name = None
|
||||
options.token_library_path = None
|
||||
options.token_password = None
|
||||
options.token_password_file = None
|
||||
# certificate system
|
||||
options.external_ca = ansible_module.params.get('external_ca')
|
||||
options.external_ca_type = ansible_module.params.get('external_ca_type')
|
||||
|
||||
Reference in New Issue
Block a user