mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
16 lines
358 B
YAML
16 lines
358 B
YAML
|
---
|
||
|
- 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 }}'
|