Nusenu
unread,Feb 18, 2015, 12:43:37 PM2/18/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansibl...@googlegroups.com
Hi,
I've got 3 sets of data:
foo: [ A, B, C, D, ...]
bar: [ 1, 2 ]
tra: [ a, b ]
foo should be combined with bar and tra in a nested loop, but bar and
tra should loop together.
something like (not actually working):
- debug: msg="{{ item[0] }} {{ item[1][0] }} {{ item[1][1] }}
with_netsted:
- foo
- item
with_together:
- bar
- tra
Expected output:
A1a
A2b
B1a
B2b
C1a
C2b
...
How would I actually combine with_nested: and with_together?
thanks!
Nusenu