devcontainer support with linting? #39
-
does this work with vscode devcontainers? i am able to get everything working except linting does not seem to show in the problems area or underline in the editor. does anyone have this extension working with linting inside a devcontainer? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @smos08, I'm actually running it in a devcontainer on a daily basis, so it's well tested 😉 Make sure that There could also be an issue in your playbooks that |
Beta Was this translation helpful? Give feedback.
Hi @smos08, I'm actually running it in a devcontainer on a daily basis, so it's well tested 😉 Make sure that
ansible-lint
is installed in your container and that VS Code knows how to find it (there are configuration options for that, if necessary).There could also be an issue in your playbooks that
ansible-lint
doesn't handle gracefully and crashes without output. You should check the output of Ansible Server. Also, try running the linter from the command-line and see what it returns.