Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

devcontainer support with linting? #39

Answered by tomaciazek
smos08 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@smos08
Comment options

@tomaciazek
Comment options

@smos08
Comment options

Answer selected by smos08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants