mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
update nested example
This commit is contained in:
parent
bacb6644db
commit
79c2a34fa0
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
- hosts: all
|
- hosts: all
|
||||||
tasks:
|
tasks:
|
||||||
- shell: echo "nested test a=${item[0]} b=${item[1]} c=${item[2]}"
|
- shell: echo "nested test a={{ item[0] }} b={{ item[1] }} c={{ item[2] }}"
|
||||||
with_nested:
|
with_nested:
|
||||||
- [ 'red', 'blue', 'green' ]
|
- [ 'red', 'blue', 'green' ]
|
||||||
- [ 1, 2, 3 ]
|
- [ 1, 2, 3 ]
|
||||||
|
|
Loading…
Reference in a new issue