blob: f9069be1a61ecbf7fabfe81eb8fde9b50e2da2f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
- hosts: testhost
gather_facts: false
tasks:
- name: ensure filters work as shipped from core
assert:
that:
- a|flatten == [1, 2, 3, 4, 5]
- a|ternary('yes', 'no') == 'yes'
vars:
a:
- 1
- 2
- [3, 4, 5]
|