Debian Codegraph @

test/integration/targets/lookup_random_choice/tasks/main.yml

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