blob: f5659d4e15cc2153379e1ffadfb77703f8312f1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
- assert:
that:
- 'i_one|type_debug == "int"'
- 's_one|type_debug == "AnsibleUnicode"'
- 'dict_one|type_debug == "dict"'
- 'dict_one is mapping'
- 'list_one|type_debug == "list"'
- 'b_true|type_debug == "bool"'
- 's_true|type_debug == "AnsibleUnicode"'
- set_fact:
a_list: "{{[i_one, s_two]}}"
- assert:
that:
- 'a_list|type_debug == "list"'
- 'a_list[0] == 1'
- 'a_list[0]|type_debug == "int"'
- 'a_list[1] == "2"'
- 'a_list[1]|type_debug == "AnsibleUnicode"'
|