mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-06 21:33:14 +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
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user