Skip to content
Snippets Groups Projects
Commit ffd8585d authored by Thomas Woerner's avatar Thomas Woerner
Browse files

ipareplica_setup_kra: Remove unused ccache parameter

The installer_ccache parameter is used in the module. The ccache parameter
was only set, but not used at all.
parent 2712e39b
No related branches found
No related tags found
No related merge requests found
...@@ -96,9 +96,6 @@ options: ...@@ -96,9 +96,6 @@ options:
config_master_host_name: config_master_host_name:
description: The config master_host_name setting description: The config master_host_name setting
required: no required: no
ccache:
description: The local ccache
required: no
installer_ccache: installer_ccache:
description: The installer ccache setting description: The installer ccache setting
required: no required: no
...@@ -172,7 +169,6 @@ def main(): ...@@ -172,7 +169,6 @@ def main():
# additional # additional
server=dict(required=True), server=dict(required=True),
config_master_host_name=dict(required=True), config_master_host_name=dict(required=True),
ccache=dict(required=True),
installer_ccache=dict(required=True), installer_ccache=dict(required=True),
_ca_enabled=dict(required=False, type='bool'), _ca_enabled=dict(required=False, type='bool'),
_kra_enabled=dict(required=False, type='bool'), _kra_enabled=dict(required=False, type='bool'),
...@@ -232,8 +228,6 @@ def main(): ...@@ -232,8 +228,6 @@ def main():
# additional # additional
options.server = ansible_module.params.get('server') options.server = ansible_module.params.get('server')
master_host_name = ansible_module.params.get('config_master_host_name') master_host_name = ansible_module.params.get('config_master_host_name')
ccache = ansible_module.params.get('ccache')
# os.environ['KRB5CCNAME'] = ccache
os.environ['KRB5CCNAME'] = ansible_module.params.get('installer_ccache') os.environ['KRB5CCNAME'] = ansible_module.params.get('installer_ccache')
installer._ccache = ansible_module.params.get('installer_ccache') installer._ccache = ansible_module.params.get('installer_ccache')
ca_enabled = ansible_module.params.get('_ca_enabled') ca_enabled = ansible_module.params.get('_ca_enabled')
...@@ -268,8 +262,6 @@ def main(): ...@@ -268,8 +262,6 @@ def main():
remote_api = gen_remote_api(master_host_name, paths.ETC_IPA) remote_api = gen_remote_api(master_host_name, paths.ETC_IPA)
installer._remote_api = remote_api installer._remote_api = remote_api
# ccache = os.environ['KRB5CCNAME']
with redirect_stdout(ansible_log): with redirect_stdout(ansible_log):
ansible_log.debug("-- INSTALL KRA --") ansible_log.debug("-- INSTALL KRA --")
......
...@@ -606,7 +606,6 @@ ...@@ -606,7 +606,6 @@
server: "{{ result_ipareplica_test.server }}" server: "{{ result_ipareplica_test.server }}"
config_master_host_name: config_master_host_name:
"{{ result_ipareplica_prepare.config_master_host_name }}" "{{ result_ipareplica_prepare.config_master_host_name }}"
ccache: "{{ result_ipareplica_prepare.ccache }}"
installer_ccache: "{{ result_ipareplica_prepare.installer_ccache }}" installer_ccache: "{{ result_ipareplica_prepare.installer_ccache }}"
_ca_enabled: "{{ result_ipareplica_prepare._ca_enabled }}" _ca_enabled: "{{ result_ipareplica_prepare._ca_enabled }}"
_kra_enabled: "{{ result_ipareplica_prepare._kra_enabled }}" _kra_enabled: "{{ result_ipareplica_prepare._kra_enabled }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment