Debian Codegraph @

test/integration/targets/lookup_nested/tasks/main.yml

raw
1 - name: test with_nested
2 set_fact: "{{ item.0 + item.1 }}=x"
3 with_nested:
4 - [ 'a', 'b' ]
5 - [ 'c', 'd' ]
6
7 - debug: var=ac
8 - debug: var=ad
9 - debug: var=bc
10 - debug: var=bd
11
12 - name: verify with_nested results
13 assert:
14 that:
15 - "ac == 'x'"
16 - "ad == 'x'"
17 - "bc == 'x'"
18 - "bd == 'x'"