summaryrefslogtreecommitdiffstats
path: root/test/samples/with_together.yml
blob: 073b8010332c4b70d6c0c361f1857f841dfdbc33 (plain)
1
2
3
4
5
6
7
8
9
10
11
- hosts: localhost
  connection: local
  gather_facts: no
  vars:
    alpha: [ 'a', 'b', 'c', 'd' ]
    numbers:  [ 1, 2, 3, 4 ]
  tasks:
  - debug: msg="{{ item.0 }} and {{ item.1 }}"
    with_together:
    - alpha
    - numbers