summaryrefslogtreecommitdiffstats
path: root/examples/broken
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 16:04:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 16:04:56 +0000
commitd964cec5e6aa807b75c7a4e7cdc5f11e54b2eda2 (patch)
tree794bc3738a00b5e599f06d1f2f6d79048d87ff8e /examples/broken
parentInitial commit. (diff)
downloadansible-lint-d964cec5e6aa807b75c7a4e7cdc5f11e54b2eda2.tar.xz
ansible-lint-d964cec5e6aa807b75c7a4e7cdc5f11e54b2eda2.zip
Adding upstream version 6.13.1.upstream/6.13.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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