vscode/vscodium extension for providing Ansible auto-completion and integrating quality assurance tools like ansible-lint, ansible syntax check, yamllint, molecule and ansible-test.
when using ansible lint on a machine with dotnet installed i get the following error:
cmd 'ansible-lint --version' has the following error/warning: WARNING: PATH altered to expand ~ in it. Read https://stackoverflow.com/a/44704799/99834 and correct your system configuration.
unfortunately dotnet is using "~/.dotnet/tools" in the path variable and that's how it works.
version parsing for ansible lint should ignore warnings. looks like the version parsing could be improved to handle this case.
ansible-lint --version
WARNING: PATH altered to expand ~ in it. Read https://stackoverflow.com/a/44704799/99834 and correct your system configuration.
ansible-lint 24.6.1 using ansible-core:2.17.1 ansible-compat:24.6.1 ruamel-yaml:0.18.6 ruamel-yaml-clib:0.2.8
Summary
when using ansible lint on a machine with dotnet installed i get the following error:
cmd 'ansible-lint --version' has the following error/warning: WARNING: PATH altered to expand ~ in it. Read https://stackoverflow.com/a/44704799/99834 and correct your system configuration.
unfortunately dotnet is using "~/.dotnet/tools" in the path variable and that's how it works.
version parsing for ansible lint should ignore warnings. looks like the version parsing could be improved to handle this case.
Extension version
v24.8.1
VS Code version
1.90.2
Ansible Version
OS / Environment
Ubuntu 22.04
Relevant log output