ansible/test/integration/test_templating_settings.yml
2015-02-26 14:53:51 -08:00

17 lines
359 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 }}'