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" <[email protected]> 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 [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/ff65f58d-3a2c-44ed-84f5-9dbed9323514%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/ff65f58d-3a2c-44ed-84f5-9dbed9323514%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAJQqANfe1OOO891oMs1a0UeWGhUu7m4A2T1f-p4AwvQLyHMGbQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
