Skip to content

Commit

Permalink
Update schemas (#2160)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored May 18, 2022
1 parent 679ffc0 commit 3435de7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 549 deletions.
9 changes: 8 additions & 1 deletion src/ansiblelint/schemas/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,10 @@
],
"markdownDescription": "See https://docs.ansible.com/ansible/latest/user_guide/playbooks_reuse_roles.html#role-dependencies and https://github.com/ansible/ansible/blob/devel/lib/ansible/playbook/role/metadata.py#L79",
"properties": {
"become": {
"title": "Become",
"type": "boolean"
},
"name": {
"title": "Name",
"type": "string"
Expand Down Expand Up @@ -244,6 +248,10 @@
"version": {
"title": "Version",
"type": "string"
},
"when": {
"title": "When",
"type": "string"
}
},
"title": "Dependency entry",
Expand Down Expand Up @@ -1211,7 +1219,6 @@
"$ref": "#/$defs/GalaxyInfoModel"
}
},
"required": ["galaxy_info"],
"type": "object"
}
],
Expand Down
18 changes: 0 additions & 18 deletions src/ansiblelint/schemas/playbook.json
Original file line number Diff line number Diff line change
Expand Up @@ -658,24 +658,6 @@
"title": "play-role",
"type": "object"
},
"playbook": {
"examples": [
"playbooks/*.yml",
"playbooks/*.yaml"
],
"items": {
"oneOf": [
{
"$ref": "#/$defs/ansible.builtin.import_playbook"
},
{
"$ref": "#/$defs/play"
}
]
},
"title": "Ansible Playbook",
"type": "array"
},
"task": {
"additionalProperties": true,
"not": {
Expand Down
Loading

0 comments on commit 3435de7

Please sign in to comment.