summaryrefslogtreecommitdiff
path: root/test/integration/targets/templating_settings/test_templating_settings.yml
blob: d00300bdc22bb45c46c04d28bc5da8b465ce19f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
- 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 }}'