ansible/samples/with_items.yml
2015-05-03 21:47:26 -05:00

11 lines
170 B
YAML

- hosts: localhost
connection: local
vars:
my_list:
- a
- b
- c
gather_facts: no
tasks:
- debug: msg="item is {{item}}"
with_items: my_list