blob: 0c024dfd2f3965a73ce27ff3779e206df59c0431 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
---
- name: 'Test templating in name'
hosts: testhost
vars:
a_list:
- 'part'
- 'of a'
- 'name'
tasks:
# Note: this only tests that we do not traceback. It doesn't test that the
# name goes through templating correctly
- name: 'Task: {{ a_list | to_json }}'
debug: msg='{{ a_list | to_json }}'
|