summaryrefslogtreecommitdiffstats
path: root/test/schemas/negative_test/playbooks/invalid-failed-when.yml.md
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:24:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:24:58 +0000
commitba233a0cbad76b4783a03893e7bf4716fbc0f0ec (patch)
treead369728c1edbe3631c8150585659078ae5d7d0b /test/schemas/negative_test/playbooks/invalid-failed-when.yml.md
parentReleasing progress-linux version 6.17.2-3~progress7.99u1. (diff)
downloadansible-lint-ba233a0cbad76b4783a03893e7bf4716fbc0f0ec.tar.xz
ansible-lint-ba233a0cbad76b4783a03893e7bf4716fbc0f0ec.zip
Merging upstream version 24.6.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/schemas/negative_test/playbooks/invalid-failed-when.yml.md')
-rw-r--r--test/schemas/negative_test/playbooks/invalid-failed-when.yml.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/schemas/negative_test/playbooks/invalid-failed-when.yml.md b/test/schemas/negative_test/playbooks/invalid-failed-when.yml.md
index 3a41059..e2d1a0d 100644
--- a/test/schemas/negative_test/playbooks/invalid-failed-when.yml.md
+++ b/test/schemas/negative_test/playbooks/invalid-failed-when.yml.md
@@ -170,6 +170,7 @@ stdout:
```json
{
"status": "fail",
+ "successes": [],
"errors": [
{
"filename": "negative_test/playbooks/invalid-failed-when.yml",
@@ -180,6 +181,11 @@ stdout:
"path": "$[0]",
"message": "'hosts', 'tasks' do not match any of the regexes: '^(ansible\\\\.builtin\\\\.)?import_playbook$', 'name', 'tags', 'vars', 'when'"
},
+ "best_deep_match": {
+ "path": "$[0].tasks[0].failed_when",
+ "message": "123 is not of type 'boolean'"
+ },
+ "num_sub_errors": 15,
"sub_errors": [
{
"path": "$[0]",