summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/noqa-nested.yml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/playbooks/noqa-nested.yml')
-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..505741e
--- /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: unnamed-task
+ msg: "test unnamed task in block"