summaryrefslogtreecommitdiffstats
path: root/examples/broken
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/broken/.ansible-lint2
-rw-r--r--examples/broken/ansible-navigator.yml3
-rw-r--r--examples/broken/encoding.j21
-rw-r--r--examples/broken/yaml-with-tabs/invalid-due-tabs.yaml4
-rw-r--r--examples/broken_collection_meta_runtime/meta/runtime.yml2
5 files changed, 12 insertions, 0 deletions
diff --git a/examples/broken/.ansible-lint b/examples/broken/.ansible-lint
new file mode 100644
index 0000000..6428f2c
--- /dev/null
+++ b/examples/broken/.ansible-lint
@@ -0,0 +1,2 @@
+# invalid ansible-lint config file
+foo: bar # invalid based on schema
diff --git a/examples/broken/ansible-navigator.yml b/examples/broken/ansible-navigator.yml
new file mode 100644
index 0000000..cb4f4f6
--- /dev/null
+++ b/examples/broken/ansible-navigator.yml
@@ -0,0 +1,3 @@
+---
+# https://ansible-navigator.readthedocs.io/en/latest/settings/
+ansible: {} # invalid as it is missing 'ansible-navigator' parent key
diff --git a/examples/broken/encoding.j2 b/examples/broken/encoding.j2
new file mode 100644
index 0000000..2616fcc
--- /dev/null
+++ b/examples/broken/encoding.j2
@@ -0,0 +1 @@
+À-Á
diff --git a/examples/broken/yaml-with-tabs/invalid-due-tabs.yaml b/examples/broken/yaml-with-tabs/invalid-due-tabs.yaml
new file mode 100644
index 0000000..0667f2e
--- /dev/null
+++ b/examples/broken/yaml-with-tabs/invalid-due-tabs.yaml
@@ -0,0 +1,4 @@
+{
+ "data": "this is not a valid YAML file as specification forbids tabs",
+ }
+}
diff --git a/examples/broken_collection_meta_runtime/meta/runtime.yml b/examples/broken_collection_meta_runtime/meta/runtime.yml
new file mode 100644
index 0000000..41f4ead
--- /dev/null
+++ b/examples/broken_collection_meta_runtime/meta/runtime.yml
@@ -0,0 +1,2 @@
+---
+foo: bar # should fail meta-runtime schema validation