blob: de8fdf1888f8efe1d47c86dd23069726ecb70bd2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
- hosts: localhost
connection: local
gather_facts: no
vars:
some_list:
- a
- b
- c
tasks:
- debug: msg="at array position {{ item.0 }} there is a value {{ item.1 }}"
with_indexed_items: some_list
|