summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/multi_yaml_doc.transformed.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:24:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:24:58 +0000
commitba233a0cbad76b4783a03893e7bf4716fbc0f0ec (patch)
treead369728c1edbe3631c8150585659078ae5d7d0b /examples/playbooks/multi_yaml_doc.transformed.yml
parentReleasing progress-linux version 6.17.2-3~progress7.99u1. (diff)
downloadansible-lint-ba233a0cbad76b4783a03893e7bf4716fbc0f0ec.tar.xz
ansible-lint-ba233a0cbad76b4783a03893e7bf4716fbc0f0ec.zip
Merging upstream version 24.6.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'examples/playbooks/multi_yaml_doc.transformed.yml')
-rw-r--r--examples/playbooks/multi_yaml_doc.transformed.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/playbooks/multi_yaml_doc.transformed.yml b/examples/playbooks/multi_yaml_doc.transformed.yml
new file mode 100644
index 0000000..ab1e02f
--- /dev/null
+++ b/examples/playbooks/multi_yaml_doc.transformed.yml
@@ -0,0 +1,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