summaryrefslogtreecommitdiff
path: root/samples/test_free.yml
blob: d5f8bcaac944c37cc33ea3c20fbdbd43bfb3b027 (plain)
1
2
3
4
5
6
7
8
9
10
- hosts: all
  strategy: free
  gather_facts: no
  tasks:
  - debug: msg="all hosts should print this"
  - pause: seconds=5
    when: inventory_hostname == 'l2'
  - pause: seconds=10
    when: inventory_hostname == 'l3'
  - debug: msg="and we're done"