summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/conditionals/vars/main.yml
blob: 2af6cee2db7728ddc756ef90e94c8e65957857b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
# foo is a dictionary that will be used to check that
# a conditional passes a with_items loop on a variable
# with a missing attribute (ie. foo.results)
cond_bad_attribute:
  bar: a

cond_list_of_items:
  results:
  - a
  - b
  - c

things1:
    - 1
    - 2
vars_file_var: 321

test_bare: true
test_bare_var: 123
test_bare_nested_good: "test_bare_var == 123"
test_bare_nested_bad: "{{test_bare_var}} == 321"

string_lit_true: "true"
string_lit_false: "false"
string_lit_empty: ""
lit_null: null
int_lit_0: 0
int_lit_1: 1