ansible/ansible — pull request #3511 by bradleyy (2013-07-12 07:12:59+00:00)
Title: Adding transpose lookup method. This will matrix transpose arrays that a...

Transpose a list of arrays:
[1, 2, 3], [4, 5, 6] -> [1, 4], [2, 5], [3, 6]
Replace any empty spots in 2nd array with "":
[1, 2], [3] -> [1, 3], [2, ""]

And then feed the result like with_items would