mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-30 03:14:42 +00:00
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:
@@ -1796,7 +1796,7 @@ def main():
|
|||||||
# Execute commands
|
# Execute commands
|
||||||
|
|
||||||
changed = ansible_module.execute_ipa_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)
|
exit_args=exit_args, single_user=users is None)
|
||||||
|
|
||||||
# Done
|
# Done
|
||||||
|
|||||||
Reference in New Issue
Block a user