Parallel execusion of task with arguments

41 views
Skip to first unread message

Maruti Kumar

unread,
Apr 18, 2015, 10:09:03 PM4/18/15
to ansible...@googlegroups.com
Need to execute a tak on muntiple nodes in parallel. And each execution takes one value from a list of values as input. How to achieve this?
 
Thanks,

Michael Peters

unread,
Apr 19, 2015, 6:46:57 PM4/19/15
to ansible...@googlegroups.com

I would use a dictionary where the keys are the hostnames. Then the task would pull the variable it needs.

--
Michael Peters

On Apr 18, 2015 10:09 PM, "Maruti Kumar" <maruti.g...@gmail.com> wrote:
Need to execute a tak on muntiple nodes in parallel. And each execution takes one value from a list of values as input. How to achieve this?
 
Thanks,

--
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/ff65f58d-3a2c-44ed-84f5-9dbed9323514%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages