summaryrefslogtreecommitdiff
path: root/samples/with_items.yml
blob: c486cf686edfe703a1b9c0a03cd29edbb103a5fb (plain)
1
2
3
4
5
6
7
8
9
10
11
- hosts: localhost
  connection: local
  vars:
    my_list:
    - a
    - b
    - c
  gather_facts: no
  tasks:
  - debug: msg="item is {{item}}"
    with_items: my_list