vscode-ansible icon indicating copy to clipboard operation
vscode-ansible copied to clipboard

State minimum required version of Ansible Lint

Open mforkel opened this issue 2 years ago • 1 comments

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

mforkel avatar Jan 06 '23 09:01 mforkel

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.

ssbarnea avatar Jan 08 '23 18:01 ssbarnea