ansible/test/integration/targets/templating_settings/test_templating_settings.yml
2019-04-30 11:35:08 -07:00

14 lines
337 B
YAML

---
- name: 'Test templating in name'
hosts: testhost
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 }}'