summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/4114
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:24:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:24:57 +0000
commit6321bd49c49eb2bb436cf7fb4842c4c424198de7 (patch)
treef34b66b4551dfe468bbcb29d0dcec5384556543b /examples/playbooks/4114
parentAdding debian version 6.17.2-3. (diff)
downloadansible-lint-6321bd49c49eb2bb436cf7fb4842c4c424198de7.tar.xz
ansible-lint-6321bd49c49eb2bb436cf7fb4842c4c424198de7.zip
Merging upstream version 24.6.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'examples/playbooks/4114')
-rw-r--r--examples/playbooks/4114/transform-with-missing-role-and-modules.transformed.yml13
-rw-r--r--examples/playbooks/4114/transform-with-missing-role-and-modules.yml13
2 files changed, 26 insertions, 0 deletions
diff --git a/examples/playbooks/4114/transform-with-missing-role-and-modules.transformed.yml b/examples/playbooks/4114/transform-with-missing-role-and-modules.transformed.yml
new file mode 100644
index 0000000..10ae898
--- /dev/null
+++ b/examples/playbooks/4114/transform-with-missing-role-and-modules.transformed.yml
@@ -0,0 +1,13 @@
+---
+- name: Reproducer for bug 4114
+ hosts: localhost
+ roles:
+ - this_role_is_missing
+ tasks:
+ - name: Task referring to a missing module
+ this_module_does_not_exist:
+ foo: bar
+
+ - name: Use raw to echo
+ ansible.builtin.debug: # <-- this should be converted to fqcn
+ msg: some message!
diff --git a/examples/playbooks/4114/transform-with-missing-role-and-modules.yml b/examples/playbooks/4114/transform-with-missing-role-and-modules.yml
new file mode 100644
index 0000000..c166dd5
--- /dev/null
+++ b/examples/playbooks/4114/transform-with-missing-role-and-modules.yml
@@ -0,0 +1,13 @@
+---
+- name: Reproducer for bug 4114
+ hosts: localhost
+ roles:
+ - this_role_is_missing
+ tasks:
+ - name: Task referring to a missing module
+ this_module_does_not_exist:
+ foo: bar
+
+ - name: Use raw to echo
+ debug: # <-- this should be converted to fqcn
+ msg: some message!