Skip to content

Commit

Permalink
Allow to set max_fail_percentage as templated integer (#3901)
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Alfieri <[email protected]>
  • Loading branch information
rebtoor authored Nov 20, 2023
1 parent afe4ac1 commit 6e78ac3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ansiblelint/schemas/ansible.json
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@
},
"max_fail_percentage": {
"title": "Max Fail Percentage",
"type": "number"
"$ref": "#/$defs/templated-integer"
},
"module_defaults": {
"title": "Module Defaults"
Expand Down
4 changes: 2 additions & 2 deletions src/ansiblelint/schemas/playbook.json
Original file line number Diff line number Diff line change
Expand Up @@ -541,8 +541,8 @@
"type": "boolean"
},
"max_fail_percentage": {
"title": "Max Fail Percentage",
"type": "number"
"$ref": "#/$defs/templated-integer",
"title": "Max Fail Percentage"
},
"module_defaults": {
"title": "Module Defaults"
Expand Down

0 comments on commit 6e78ac3

Please sign in to comment.