-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ansible Meta Data warns Ansible Lint missing #607
Ansible Meta Data warns Ansible Lint missing #607
Comments
After installing the python-is-python3 workaround package the warning "python: not found" was gone (wich is not really a desired fix for all people) This time the Ansible Server gives this output:
ansible/ansible-lint#2357
|
Closing as we already released a fix for few days ago. |
Hey @ssbarnea, when do you expect this fix to arrive? As of |
Lets see what @priyamsahoo can say about it, maybe we failed to release ALS. He had few days of vacation but should be back next week. I will reopen the bug so we do not forget about it. |
Thank you 🙇🏼 Linking #615 because it seems to be related. You can find a devcontainer in that one as well for reproducible testing. |
Also I can confirm that the
|
I am currently unable to test with 12.6 as the upgrade from 12.5.1 was permanently failing for the last week. This morning we opened a support ticket with Apple after sending 0.5GB of logs. Still, I doubt that the issue is specific to it. You should be able to guess the running |
So, I have only one global version. I also use virtual envs but this should not be the issue for VSCode. |
I have just noticed that I am using a different repo for the extension: Will this fix be Implemented there also, or should I create the bug report for that repo independently of this? |
@jovmarkovic This extension is built from two repositories. As long they are under Ansible organization, you are safe. It is not obvious if a bug is part of the client side or the language server, especially as some are combined. BTW, I am currently working on a change in linter itself related to the way it finds ansible, one that should improve the experience for MacOS users in particular. See ansible/ansible-lint#2477 |
@ssbarnea Perfect answer. Thank you |
So this happens in my VS Code environment, too. VS Code version: Version: 1.84.2 (user setup) ansible@ubuntu-c:~$ which ansible-lint ansible@ubuntu-c:~$ ansible --version ansible@ubuntu-c:~$ ansible-lint --version |
updates: - [github.com/streetsidesoftware/cspell-cli: v7.3.1 → v7.3.2](streetsidesoftware/cspell-cli@v7.3.1...v7.3.2) - [github.com/pre-commit/pre-commit-hooks.git: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks.git/compare/v4.4.0...v4.5.0) - [github.com/pre-commit/mirrors-eslint: v8.50.0 → v8.53.0](pre-commit/mirrors-eslint@v8.50.0...v8.53.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sanity check
redhat.ansible
extension is in use and the language of the document in this bug report shows up asAnsible
Summary
"Ansible Meta data" warns that Ansible Lint is missing, but it is installed and working.
I guess the extension is not finding the "python3" executable, it only tries "python" which an Ubuntu does not provide out of the box.
Extension version
v0.12.30
VS Code version
1.70.2
Ansible Version
OS / Environment
Windows 11 Enterprise -> VS Code -> WSL Ubuntu 22.04 LTS
$ ansible-lint --version
ansible-lint 6.0.2 using ansible 2.13.2
$ ansible --version | grep "python version"
python version = 3.10.4 (main, Apr 2 2022, 09:04:19) [GCC 11.2.0]
Relevant log output
The text was updated successfully, but these errors were encountered: