blob: 286319017ecb51650c064d0a3a2c68fd0f5794b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
- name: Test set_fact for empty string as a key
hosts: testhost
gather_facts: no
vars:
value: 1
tasks:
- name: Define fact with key as an empty string
set_fact:
foo:
"": "bar{{ value }}"
- name: Verify the parsed value of the key
assert:
that:
- foo == {"":"bar1"}
|