summaryrefslogtreecommitdiffstats
path: root/src/ansiblelint/_internal/load-failure.md
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 /src/ansiblelint/_internal/load-failure.md
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 'src/ansiblelint/_internal/load-failure.md')
-rw-r--r--src/ansiblelint/_internal/load-failure.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ansiblelint/_internal/load-failure.md b/src/ansiblelint/_internal/load-failure.md
new file mode 100644
index 0000000..f88bfa9
--- /dev/null
+++ b/src/ansiblelint/_internal/load-failure.md
@@ -0,0 +1,17 @@
+# load-failure
+
+"Linter failed to process a file, possible invalid file. Possible reasons:
+
+- contains unsupported encoding (only UTF-8 is supported)
+- not an Ansible file
+- it contains some unsupported custom YAML objects (`!!` prefix)
+- it was not able to decrypt an inline `!vault` block.
+
+This violation **is not** skippable, so it cannot be added to the `warn_list` or
+the `skip_list`. If a vault decryption issue cannot be avoided, the offending
+file can be added to `exclude_paths` configuration.
+
+Possible errors codes:
+
+- `load-failure[not-found]` - Indicates that one argument file or folder was not
+ found on disk.