ansible/test/samples/with_items.yml

12 lines
170 B
YAML
Raw Normal View History

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