summaryrefslogtreecommitdiffstats
path: root/test/schemas/negative_test/playbooks/tasks/when_object.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/schemas/negative_test/playbooks/tasks/when_object.yml')
-rw-r--r--test/schemas/negative_test/playbooks/tasks/when_object.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/schemas/negative_test/playbooks/tasks/when_object.yml b/test/schemas/negative_test/playbooks/tasks/when_object.yml
new file mode 100644
index 0000000..430605d
--- /dev/null
+++ b/test/schemas/negative_test/playbooks/tasks/when_object.yml
@@ -0,0 +1,2 @@
+- action: foo
+ when: {} # invalid, object is not accepted