summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/noqa-nested.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/playbooks/noqa-nested.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/playbooks/noqa-nested.yml b/examples/playbooks/noqa-nested.yml
new file mode 100644
index 0000000..0659d48
--- /dev/null
+++ b/examples/playbooks/noqa-nested.yml
@@ -0,0 +1,9 @@
+---
+- hosts: localhost
+ tasks:
+ - name: Example of multi-level block
+ block:
+ - name: 2nd level
+ block:
+ - ansible.builtin.debug: # noqa: name[missing]
+ msg: "test unnamed task in block"