remote loop

Hey,

We provision hundreds of unix users per host using the standard with_items and user module. Correct me if i am wrong, When I use -vvvv for each user in the list a connection is created and the module is transferred with the argument and that takes sometime. Is there a way to improve it without developing a new module ? Sending the list as an argument and looping remotely or any other idea that will improve the speed ?

Regards

There is no user surfaceable way presentently to send the list together in one object.

There is some specific code that does this for yum/apt.

It may be easier for a module to request this behavior in the future, but it’s not presently.