Parallel execusion of task with arguments

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,

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