summaryrefslogtreecommitdiffstats
path: root/examples/broken
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:06:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:06:49 +0000
commit2fe34b6444502079dc0b84365ce82dbc92de308e (patch)
tree8fedcab52bbbc3db6c5aa909a88a7a7b81685018 /examples/broken
parentInitial commit. (diff)
downloadansible-lint-2fe34b6444502079dc0b84365ce82dbc92de308e.tar.xz
ansible-lint-2fe34b6444502079dc0b84365ce82dbc92de308e.zip
Adding upstream version 6.17.2.upstream/6.17.2
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/encoding.ymlbin0 -> 1001 bytes
-rw-r--r--examples/broken/yaml-with-tabs/invalid-due-tabs.yaml4
-rw-r--r--examples/broken_collection_meta_runtime/meta/runtime.yml2
6 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/encoding.yml b/examples/broken/encoding.yml
new file mode 100644
index 0000000..2c6c2ab
--- /dev/null
+++ b/examples/broken/encoding.yml
Binary files differ
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