blob: 524b869e632b77cee732677cf88658725c018013 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
---
- name: 'Test templating in name'
hosts: localhost
connection: local
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 }}'
|