From 6cec03eb152784158532241c381692f4307d53a7 Mon Sep 17 00:00:00 2001 From: Thomas Woerner <twoerner@redhat.com> Date: Mon, 22 Apr 2024 10:52:00 +0200 Subject: [PATCH] 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. --- plugins/modules/ipaservice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/ipaservice.py b/plugins/modules/ipaservice.py index 1a4fd714..c6719a98 100644 --- a/plugins/modules/ipaservice.py +++ b/plugins/modules/ipaservice.py @@ -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) -- GitLab