From 08b0fc02ba364ffdeda3eb530d28f9a1f99d7fcf Mon Sep 17 00:00:00 2001 From: Thomas Woerner <twoerner@redhat.com> Date: Mon, 22 Apr 2024 14:15:16 +0200 Subject: [PATCH] ipagroup: 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/ipagroup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/ipagroup.py b/plugins/modules/ipagroup.py index dcb1f3a3..425be781 100644 --- a/plugins/modules/ipagroup.py +++ b/plugins/modules/ipagroup.py @@ -900,7 +900,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 -- GitLab