summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/multi_yaml_doc.transformed.yml
blob: ab1e02f5c6313f817fd35601b3955c80f9040fec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
- name: First problematic play
  hosts: localhost
  tasks:
    - name: Echo a message
      ansible.builtin.shell: echo hello # <-- command-instead-of-shell
      changed_when: false
---
- name: second problematic play # <-- name[casing]
  hosts: localhost
  tasks:
    - name: Remove file (delete file)
      ansible.builtin.file:
        path: /etc/foo.txt
        state: absent
---
- name: Third problematic play
  hosts: localhost
  tasks:
    - name: Remove file (delete file)
      file: # <-- fqcn[action-core]
        path: /etc/foo.txt
        state: absent