remote loop

23 views
Skip to first unread message

DomaNitro

unread,
Oct 19, 2014, 11:08:42 AM10/19/14
to ansible...@googlegroups.com
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

Michael DeHaan

unread,
Oct 20, 2014, 5:00:17 PM10/20/14
to ansible...@googlegroups.com
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.

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/fd22548c-0ee6-4e86-bf35-055a6af39a2e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages