2015-02-26 22:53:51 +00:00
|
|
|
---
|
|
|
|
- name: 'Test templating in name'
|
2019-01-26 03:37:56 +00:00
|
|
|
hosts: testhost
|
2015-02-26 22:53:51 +00:00
|
|
|
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 }}'
|