Skip to content

Commit

Permalink
ipareplica: Removed unused parameter _ca_file
Browse files Browse the repository at this point in the history
Remove parameter _ca_file from ipareplica modules as the parameter is
not used.

Related to: freeipa/freeipa#6620
  • Loading branch information
rjeffman committed May 16, 2023
1 parent 8ec5b1f commit ab7f92e
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@
description: The installer _ca_enabled setting
type: bool
required: no
_ca_file:
description: The installer _ca_file setting
type: str
required: no
_kra_enabled:
description: The installer _kra_enabled setting
type: bool
Expand Down Expand Up @@ -134,7 +130,6 @@ def main():
# additional
ccache=dict(required=True, type='str'),
_ca_enabled=dict(required=False, type='bool'),
_ca_file=dict(required=False, type='str'),
_kra_enabled=dict(required=False, type='bool'),
_kra_host_name=dict(required=False, type='str'),
_top_dir=dict(required=True, type='str'),
Expand Down
5 changes: 0 additions & 5 deletions roles/ipareplica/library/ipareplica_ds_apply_updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,6 @@
description: The installer _ca_enabled setting
type: bool
required: no
_ca_file:
description: The installer _ca_file setting
type: str
required: no
_dirsrv_pkcs12_info:
description: The installer _dirsrv_pkcs12_info setting
type: list
Expand Down Expand Up @@ -140,7 +136,6 @@ def main():
config_master_host_name=dict(required=True, type='str'),
ccache=dict(required=True, type='str'),
_ca_enabled=dict(required=False, type='bool'),
_ca_file=dict(required=False, type='str'),
_dirsrv_pkcs12_info=dict(required=False, type='list',
elements='str'),
_pkinit_pkcs12_info=dict(required=False, type='list',
Expand Down
5 changes: 0 additions & 5 deletions roles/ipareplica/library/ipareplica_ds_enable_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@
description: The installer _ca_enabled setting
type: bool
required: no
_ca_file:
description: The installer _ca_file setting
type: str
required: no
_dirsrv_pkcs12_info:
description: The installer _dirsrv_pkcs12_info setting
type: list
Expand Down Expand Up @@ -135,7 +131,6 @@ def main():
config_master_host_name=dict(required=True, type='str'),
ccache=dict(required=True, type='str'),
_ca_enabled=dict(required=False, type='bool'),
_ca_file=dict(required=False, type='str'),
_dirsrv_pkcs12_info=dict(required=False, type='list',
elements='str'),
_pkinit_pkcs12_info=dict(required=False, type='list',
Expand Down
5 changes: 0 additions & 5 deletions roles/ipareplica/library/ipareplica_krb_enable_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@
description: The installer _ca_enabled setting
type: bool
required: no
_ca_file:
description: The installer _ca_file setting
type: str
required: no
_pkinit_pkcs12_info:
description: The installer _pkinit_pkcs12_info setting
type: list
Expand Down Expand Up @@ -119,7 +115,6 @@ def main():
config_master_host_name=dict(required=True, type='str'),
ccache=dict(required=True, type='str'),
_ca_enabled=dict(required=False, type='bool'),
_ca_file=dict(required=False, type='str'),
_pkinit_pkcs12_info=dict(required=False, type='list',
elements='str'),
_top_dir=dict(required=True, type='str'),
Expand Down
5 changes: 0 additions & 5 deletions roles/ipareplica/library/ipareplica_restart_kdc.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@
description: The local ccache
type: str
required: yes
_ca_file:
description: The installer _ca_file setting
type: str
required: no
_top_dir:
description: The installer _top_dir setting
type: str
Expand Down Expand Up @@ -115,7 +111,6 @@ def main():
# additional
config_master_host_name=dict(required=True, type='str'),
ccache=dict(required=True, type='str'),
_ca_file=dict(required=False, type='str'),
_top_dir=dict(required=True, type='str'),
dirman_password=dict(required=True, type='str', no_log=True),
),
Expand Down
5 changes: 0 additions & 5 deletions roles/ipareplica/library/ipareplica_setup_ca.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@
description: The installer _ca_enabled setting
type: bool
required: no
_ca_file:
description: The installer _ca_file setting
type: str
required: no
_kra_enabled:
description: The installer _kra_enabled setting
type: bool
Expand Down Expand Up @@ -163,7 +159,6 @@ def main():
# additional
ccache=dict(required=True, type='str'),
_ca_enabled=dict(required=False, type='bool'),
_ca_file=dict(required=False, type='str'),
_kra_enabled=dict(required=False, type='bool'),
_kra_host_name=dict(required=False, type='str'),
_dirsrv_pkcs12_info=dict(required=False, type='list',
Expand Down
5 changes: 0 additions & 5 deletions roles/ipareplica/library/ipareplica_setup_custodia.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@
description: The installer _ca_enabled setting
type: bool
required: no
_ca_file:
description: The installer _ca_file setting
type: str
required: no
_kra_enabled:
description: The installer _kra_enabled setting
type: bool
Expand Down Expand Up @@ -131,7 +127,6 @@ def main():
config_master_host_name=dict(required=True, type='str'),
ccache=dict(required=True, type='str'),
_ca_enabled=dict(required=False, type='bool'),
_ca_file=dict(required=False, type='str'),
_kra_enabled=dict(required=False, type='bool'),
_kra_host_name=dict(required=False, type='str'),
_pkinit_pkcs12_info=dict(required=False, type='list',
Expand Down
5 changes: 0 additions & 5 deletions roles/ipareplica/library/ipareplica_setup_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,6 @@
description: The installer _ca_enabled setting
type: bool
required: no
_ca_file:
description: The installer _ca_file setting
type: str
required: no
_http_pkcs12_info:
description: The installer _http_pkcs12_info setting
type: list
Expand Down Expand Up @@ -129,7 +125,6 @@ def main():
config_ca_host_name=dict(required=True, type='str'),
ccache=dict(required=True, type='str'),
_ca_enabled=dict(required=False, type='bool'),
_ca_file=dict(required=False, type='str'),
_http_pkcs12_info=dict(required=False, type='list',
elements='str'),
_top_dir=dict(required=True, type='str'),
Expand Down
5 changes: 0 additions & 5 deletions roles/ipareplica/library/ipareplica_setup_otpd.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@
description: The local ccache
type: str
required: yes
_ca_file:
description: The installer _ca_file setting
type: str
required: no
_top_dir:
description: The installer _top_dir setting
type: str
Expand Down Expand Up @@ -114,7 +110,6 @@ def main():
# additional
config_master_host_name=dict(required=True, type='str'),
ccache=dict(required=True, type='str'),
_ca_file=dict(required=False, type='str'),
_top_dir=dict(required=True, type='str'),
dirman_password=dict(required=True, type='str', no_log=True),
),
Expand Down
9 changes: 0 additions & 9 deletions roles/ipareplica/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,6 @@
"{{ result_ipareplica_install_ca_certs.config_master_host_name }}"
ccache: "{{ result_ipareplica_prepare.ccache }}"
_ca_enabled: "{{ result_ipareplica_prepare._ca_enabled }}"
_ca_file: "{{ result_ipareplica_prepare._ca_file }}"
_dirsrv_pkcs12_info: "{{ result_ipareplica_prepare._dirsrv_pkcs12_info if result_ipareplica_prepare._dirsrv_pkcs12_info != None else omit }}"
_pkinit_pkcs12_info: "{{ result_ipareplica_prepare._pkinit_pkcs12_info if result_ipareplica_prepare._pkinit_pkcs12_info != None else omit }}"
_top_dir: "{{ result_ipareplica_prepare._top_dir }}"
Expand All @@ -440,7 +439,6 @@
config_ca_host_name: "{{ result_ipareplica_prepare.config_ca_host_name }}"
ccache: "{{ result_ipareplica_prepare.ccache }}"
_ca_enabled: "{{ result_ipareplica_prepare._ca_enabled }}"
_ca_file: "{{ result_ipareplica_prepare._ca_file }}"
_http_pkcs12_info: "{{ result_ipareplica_prepare._http_pkcs12_info if result_ipareplica_prepare._http_pkcs12_info != None else omit }}"
_top_dir: "{{ result_ipareplica_prepare._top_dir }}"
dirman_password: "{{ __derived_dirman_password }}"
Expand Down Expand Up @@ -495,7 +493,6 @@
config_master_host_name:
"{{ result_ipareplica_install_ca_certs.config_master_host_name }}"
ccache: "{{ result_ipareplica_prepare.ccache }}"
_ca_file: "{{ result_ipareplica_prepare._ca_file }}"
_top_dir: "{{ result_ipareplica_prepare._top_dir }}"
dirman_password: "{{ __derived_dirman_password }}"

Expand All @@ -515,7 +512,6 @@
_ca_enabled: "{{ result_ipareplica_prepare._ca_enabled }}"
_kra_enabled: "{{ result_ipareplica_prepare._kra_enabled }}"
_kra_host_name: "{{ result_ipareplica_prepare.config_kra_host_name }}"
_ca_file: "{{ result_ipareplica_prepare._ca_file }}"
_pkinit_pkcs12_info: "{{ result_ipareplica_prepare._pkinit_pkcs12_info if result_ipareplica_prepare._pkinit_pkcs12_info != None else omit }}"
_top_dir: "{{ result_ipareplica_prepare._top_dir }}"
dirman_password: "{{ __derived_dirman_password }}"
Expand All @@ -533,7 +529,6 @@
### additional ###
ccache: "{{ result_ipareplica_prepare.ccache }}"
_ca_enabled: "{{ result_ipareplica_prepare._ca_enabled }}"
_ca_file: "{{ result_ipareplica_prepare._ca_file }}"
_ca_subject: "{{ result_ipareplica_prepare._ca_subject }}"
_kra_enabled: "{{ result_ipareplica_prepare._kra_enabled }}"
_kra_host_name: "{{ result_ipareplica_prepare.config_kra_host_name }}"
Expand Down Expand Up @@ -563,7 +558,6 @@
"{{ result_ipareplica_install_ca_certs.config_master_host_name }}"
ccache: "{{ result_ipareplica_prepare.ccache }}"
_ca_enabled: "{{ result_ipareplica_prepare._ca_enabled }}"
_ca_file: "{{ result_ipareplica_prepare._ca_file }}"
_pkinit_pkcs12_info: "{{ result_ipareplica_prepare._pkinit_pkcs12_info if result_ipareplica_prepare._pkinit_pkcs12_info != None else omit }}"
_top_dir: "{{ result_ipareplica_prepare._top_dir }}"
dirman_password: "{{ __derived_dirman_password }}"
Expand All @@ -583,7 +577,6 @@
"{{ result_ipareplica_install_ca_certs.config_master_host_name }}"
ccache: "{{ result_ipareplica_prepare.ccache }}"
_ca_enabled: "{{ result_ipareplica_prepare._ca_enabled }}"
_ca_file: "{{ result_ipareplica_prepare._ca_file }}"
_pkinit_pkcs12_info: "{{ result_ipareplica_prepare._pkinit_pkcs12_info if result_ipareplica_prepare._pkinit_pkcs12_info != None else omit }}"
_top_dir: "{{ result_ipareplica_prepare._top_dir }}"
dirman_password: "{{ __derived_dirman_password }}"
Expand Down Expand Up @@ -642,7 +635,6 @@
config_master_host_name:
"{{ result_ipareplica_install_ca_certs.config_master_host_name }}"
ccache: "{{ result_ipareplica_prepare.ccache }}"
_ca_file: "{{ result_ipareplica_prepare._ca_file }}"
_top_dir: "{{ result_ipareplica_prepare._top_dir }}"
dirman_password: "{{ __derived_dirman_password }}"

Expand All @@ -661,7 +653,6 @@
config_ca_host_name: "{{ result_ipareplica_prepare.config_ca_host_name }}"
ccache: "{{ result_ipareplica_prepare.ccache }}"
_ca_enabled: "{{ result_ipareplica_prepare._ca_enabled }}"
_ca_file: "{{ result_ipareplica_prepare._ca_file }}"
_kra_enabled: "{{ result_ipareplica_prepare._kra_enabled }}"
_kra_host_name: "{{ result_ipareplica_prepare.config_kra_host_name }}"
_top_dir: "{{ result_ipareplica_prepare._top_dir }}"
Expand Down

0 comments on commit ab7f92e

Please sign in to comment.