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

Playbook explanation for task files and playbooks w/o tasks #1379

Closed TamiTakamiya closed 2 weeks ago

TamiTakamiya commented 2 weeks ago

Modifications of the playbook explanation feature for

  1. Task files, and
  2. Playbooks that do not contain tasks, for example, playbooks that have roles only

For 1. We do not enable playbook explanation. The "Explain the current playbook" button on the sidebar will be grayed out.

For 2. We will display an informational message: Explaining a playbook with no tasks in the playbook is not supported.