summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/syntax-error.yml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/playbooks/syntax-error.yml')
-rw-r--r--examples/playbooks/syntax-error.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/playbooks/syntax-error.yml b/examples/playbooks/syntax-error.yml
new file mode 100644
index 0000000..8657633
--- /dev/null
+++ b/examples/playbooks/syntax-error.yml
@@ -0,0 +1,6 @@
+---
+- name: This should raise syntax-error
+ hosts: localhost
+ tasks:
+ ansible.builtin.debug:
+ msg: Note that `tasks` is not entered as a list.