mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
358 B
YAML
16 lines
358 B
YAML
10 years ago
|
---
|
||
|
- 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 }}'
|