summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/rule-name-templated-fail.yml
blob: 8a4f1562b98876e55772963429f1b7f953d3d996 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
- name: Fixture for src/ansiblelint/rules/name.py::test_name_template(
  hosts: all
  tasks:
    - name: This task {{ sampleService }} name is not correctly templated
      ansible.builtin.command: echo "Hello World"
      changed_when: false
    - name: This task is correctly templated {{ sampleService }}
      ansible.builtin.command: echo "Hello World"
      changed_when: false
    - name: This task is correctly templated '{{ sampleService }}'
      ansible.builtin.command: echo "Hello World"
      changed_when: false