Skip to content

Commit

Permalink
Allow templated boolean for any_errors_fatal (#3205)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
sathieu and pre-commit-ci[bot] authored Mar 22, 2023
1 parent 959851c commit 4232927
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
16 changes: 8 additions & 8 deletions src/ansiblelint/schemas/ansible.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@
"type": "array"
},
"any_errors_fatal": {
"title": "Any Errors Fatal",
"type": "boolean"
"$ref": "#/$defs/templated-boolean",
"title": "Any Errors Fatal"
},
"become": {
"$ref": "#/$defs/templated-boolean",
Expand Down Expand Up @@ -284,8 +284,8 @@
],
"properties": {
"any_errors_fatal": {
"title": "Any Errors Fatal",
"type": "boolean"
"$ref": "#/$defs/templated-boolean",
"title": "Any Errors Fatal"
},
"become": {
"$ref": "#/$defs/templated-boolean",
Expand Down Expand Up @@ -646,8 +646,8 @@
"markdownDescription": "See [roles](https://docs.ansible.com/ansible/latest/user_guide/playbooks_reuse_roles.html#roles)",
"properties": {
"any_errors_fatal": {
"title": "Any Errors Fatal",
"type": "boolean"
"$ref": "#/$defs/templated-boolean",
"title": "Any Errors Fatal"
},
"become": {
"$ref": "#/$defs/templated-boolean",
Expand Down Expand Up @@ -815,8 +815,8 @@
"type": "string"
},
"any_errors_fatal": {
"title": "Any Errors Fatal",
"type": "boolean"
"$ref": "#/$defs/templated-boolean",
"title": "Any Errors Fatal"
},
"args": {
"$ref": "#/$defs/templated-object",
Expand Down
16 changes: 8 additions & 8 deletions src/ansiblelint/schemas/playbook.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@
"type": "array"
},
"any_errors_fatal": {
"title": "Any Errors Fatal",
"type": "boolean"
"$ref": "#/$defs/templated-boolean",
"title": "Any Errors Fatal"
},
"become": {
"$ref": "#/$defs/templated-boolean",
Expand Down Expand Up @@ -299,8 +299,8 @@
],
"properties": {
"any_errors_fatal": {
"title": "Any Errors Fatal",
"type": "boolean"
"$ref": "#/$defs/templated-boolean",
"title": "Any Errors Fatal"
},
"become": {
"$ref": "#/$defs/templated-boolean",
Expand Down Expand Up @@ -667,8 +667,8 @@
"markdownDescription": "See [roles](https://docs.ansible.com/ansible/latest/user_guide/playbooks_reuse_roles.html#roles)",
"properties": {
"any_errors_fatal": {
"title": "Any Errors Fatal",
"type": "boolean"
"$ref": "#/$defs/templated-boolean",
"title": "Any Errors Fatal"
},
"become": {
"$ref": "#/$defs/templated-boolean",
Expand Down Expand Up @@ -831,8 +831,8 @@
"type": "string"
},
"any_errors_fatal": {
"title": "Any Errors Fatal",
"type": "boolean"
"$ref": "#/$defs/templated-boolean",
"title": "Any Errors Fatal"
},
"args": {
"$ref": "#/$defs/templated-object",
Expand Down
8 changes: 4 additions & 4 deletions src/ansiblelint/schemas/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"type": "array"
},
"any_errors_fatal": {
"title": "Any Errors Fatal",
"type": "boolean"
"$ref": "#/$defs/templated-boolean",
"title": "Any Errors Fatal"
},
"become": {
"$ref": "#/$defs/templated-boolean",
Expand Down Expand Up @@ -283,8 +283,8 @@
"type": "string"
},
"any_errors_fatal": {
"title": "Any Errors Fatal",
"type": "boolean"
"$ref": "#/$defs/templated-boolean",
"title": "Any Errors Fatal"
},
"args": {
"$ref": "#/$defs/templated-object",
Expand Down

0 comments on commit 4232927

Please sign in to comment.