ipareplica_install_ca_certs: Do not return unchanged config attributes

The config attributes config_master_host_name and also config_ca_host_name
are not changed within ipareplica_install_ca_certs, therefore it is not
needed to return them and also to use the returned values for following
tasks.
This commit is contained in:
Thomas Woerner
2024-06-19 16:36:45 +02:00
parent 4ff6e35c28
commit 127d758100
2 changed files with 15 additions and 17 deletions

View File

@@ -333,9 +333,7 @@ def main():
# done #
ansible_module.exit_json(changed=True,
config_master_host_name=config.master_host_name,
config_ca_host_name=config.ca_host_name)
ansible_module.exit_json(changed=True)
if __name__ == '__main__':