Skip to content

Commit

Permalink
fix: identify yaml playbooks (#106)
Browse files Browse the repository at this point in the history
Fixes: #102
  • Loading branch information
ssbarnea authored May 13, 2021
1 parent f28e793 commit 723b27c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
## 0.4.3

* Auto-add missing Ansible YAML tags like `!vault`
* Recognize Ansible files using `.yaml` extension in addition to `.yml`

## 0.4.2

Expand Down
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,17 +152,24 @@
{
"fileMatch": [
"playbooks/vars/*.yml",
"playbooks/vars/*.yaml",
"vars/*.yml",
"vars/*.yaml",
"defaults/*.yml",
"defaults/*.yaml",
"host_vars/*.yml",
"group_vars/*.yml"
"host_vars/*.yaml",
"group_vars/*.yml",
"group_vars/*.yaml"
],
"url": "https://raw.githubusercontent.com/ansible-community/schemas/main/f/ansible-vars.json"
},
{
"fileMatch": [
"tasks/*.yml",
"handlers/*.yml"
"tasks/*.yaml",
"handlers/*.yml",
"handlers/*.yaml"
],
"url": "https://raw.githubusercontent.com/ansible-community/schemas/main/f/ansible-tasks.json"
},
Expand Down

0 comments on commit 723b27c

Please sign in to comment.