summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/rule-yaml-fail.yml
blob: 05fb5722c9afa83c12ab0972f858293da153df9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
- name: Fixture for yaml rule that should generate 3 errors
  # https://github.com/ansible/ansible-lint/issues/3139
  hosts: localhost
  tasks:
    - name: "1"
      ansible.builtin.debug:
        msg: yes

    - name: "2"
      ansible.builtin.debug:
        msg: yes
      tags:
        - skip_ansible_lint # this has no effect for yamllint rule

    - name: "3"
      ansible.builtin.debug:
        msg: yes