ipauser: Enable batch command use with keeponly

The use of the batch command is enabled for execute_ipa_commands.

Additionally keeponly is set to ["randompassword"] as this is the only
parameter that is used from the data returned from the commands.
This commit is contained in:
Thomas Woerner
2024-04-18 14:33:05 +02:00
parent bcb6a68230
commit 65a1fd7804

View File

@@ -1796,7 +1796,7 @@ def main():
# Execute commands
changed = ansible_module.execute_ipa_commands(
commands, result_handler,
commands, result_handler, batch=True, keeponly=["randompassword"],
exit_args=exit_args, single_user=users is None)
# Done