vscode-ansible
vscode-ansible copied to clipboard
State minimum required version of Ansible Lint
Problem
It seems the extension requires at least version 5.0 of ansible-lint. This should be stated in the documentation. Currently, Ansible 2.9+ and Ansible Lint are listed as requirements.
Solution
Add the minimum required version for Ansible Lint in the requirements section of README.md
Alternatives
No response
Additional context
The version of ansible-lint included in Debian Bullseye is 4.3.7
I agree, we should at least give a clear error when ansible-lint is older than the minimum version we require and disable its integration, likely a WARN even ERROR statusbar badge in that case would be appropriate.
What is even more interesting is that the requirement on ansible-lint will also determine the minimal version of ansible being supported as ansible-lint requires that too. Still, whenever one of them is older than supported we must warn the user.