blob: e18126aea64a39d62bf43e2efadde6a56fa0206d (
plain)
1
2
3
4
5
6
7
8
9
10
|
- name: test with_random_choice
set_fact: "random={{ item }}"
with_random_choice:
- "foo"
- "bar"
- name: verify with_random_choice
assert:
that:
- "random in ['foo', 'bar']"
|