ansible / vscode-ansible

vscode/vscodium extension for providing Ansible auto-completion and integrating quality assurance tools like ansible-lint, ansible syntax check, yamllint, molecule and ansible-test.
https://ansible.readthedocs.io/projects/vscode-ansible/
MIT License
337 stars 77 forks source link

Support content match for playbooks w/o tasks #1364

Closed TamiTakamiya closed 3 weeks ago

TamiTakamiya commented 3 weeks ago

When a playbook is given to WCA codematch API, it tries to find tasks defined in each play. If no tasks are found, API attempts to find matching sources for the play itself.

Currently VS Code extension assumes tasks are always found in a playbook. We need to update VS Code extension to be consistent with the WCA codematch API.