I could be incorrect but I believe that if you write a shell script that uses fork to instantiate itself the required number of times you could just call that script using the command module.
On Wednesday, December 14, 2016 at 5:13:09 AM UTC-8, Tzach Livyatan wrote: > > Hi Ansiblers > > I need to run multiple instances (processes) of a shell command on each > server. > Something like GNU parallel <https://www.gnu.org/software/parallel/> but > directly from Ansible. > Any Ansible command / extension that will allow me to do so? > > Thanks > Tzach > > -- -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/cf2a0b22-81d5-4217-bbf5-d3fd53330f12%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
