summaryrefslogtreecommitdiff
path: root/samples/with_random_choice.yml
blob: 4ad4fc1a35d6bfb57db7394f49fd3c194ae3c398 (plain)
1
2
3
4
5
6
7
8
9
10
- hosts: localhost
  connection: local
  gather_facts: no
  tasks:
  - debug: msg={{ item }}
    with_random_choice:
    - "go through the door"
    - "drink from the goblet"
    - "press the red button"
    - "do nothing"