summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/handlers/test_block_as_handler-include_import-handlers.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/handlers/test_block_as_handler-include_import-handlers.yml')
-rw-r--r--test/integration/targets/handlers/test_block_as_handler-include_import-handlers.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/integration/targets/handlers/test_block_as_handler-include_import-handlers.yml b/test/integration/targets/handlers/test_block_as_handler-include_import-handlers.yml
new file mode 100644
index 0000000..61c058b
--- /dev/null
+++ b/test/integration/targets/handlers/test_block_as_handler-include_import-handlers.yml
@@ -0,0 +1,8 @@
+- name: handler
+ block:
+ - name: due to how handlers are implemented, this is correct as it is equivalent to an implicit block
+ debug:
+ - name: this is a parser error, blocks as handlers are not supported
+ block:
+ - name: handler in a nested block
+ debug: