ipaservice: Enable batch command use with keeponly

The use of the batch command is enabled for execute_ipa_commands.

Additionally keeponly is set to [] as nothing is used from the data returned
from the commands.
This commit is contained in:
Thomas Woerner
2024-04-22 10:52:00 +02:00
parent 65a1fd7804
commit 6cec03eb15

View File

@@ -931,7 +931,7 @@ def main():
# Execute commands
changed = ansible_module.execute_ipa_commands(
commands, fail_on_member_errors=True)
commands, batch=True, keeponly=[], fail_on_member_errors=True)
# Done
ansible_module.exit_json(changed=changed, **exit_args)