summaryrefslogtreecommitdiffstats
path: root/test/schemas/negative_test/playbooks/failed_when.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/schemas/negative_test/playbooks/failed_when.yml')
-rw-r--r--test/schemas/negative_test/playbooks/failed_when.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/schemas/negative_test/playbooks/failed_when.yml b/test/schemas/negative_test/playbooks/failed_when.yml
new file mode 100644
index 0000000..59b7272
--- /dev/null
+++ b/test/schemas/negative_test/playbooks/failed_when.yml
@@ -0,0 +1,6 @@
+- hosts: localhost
+ tasks:
+ - name: foo
+ ansible.builtin.debug:
+ msg: foo!
+ failed_when: 123 # <- not ok