summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/syntax-error-string.yml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/playbooks/syntax-error-string.yml')
-rw-r--r--examples/playbooks/syntax-error-string.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/playbooks/syntax-error-string.yml b/examples/playbooks/syntax-error-string.yml
new file mode 100644
index 0000000..e158ea8
--- /dev/null
+++ b/examples/playbooks/syntax-error-string.yml
@@ -0,0 +1,7 @@
+# This file is valid YAML and passed JSON Schema validation but not ansible
+# own syntax check.
+
+- hosts: localhost
+ tasks:
+ - name: Invalid syntax
+ x.y.z.w: {}