Sign inSign up

atterdag/ansible-lint

By atterdag

•Updated about 1 year ago

A simple docker image that can run ansible-lint against your ansible code.

Image
Languages & frameworks
Developer tools
0

277

atterdag/ansible-lint repository overview

⁠ansible-lint docker container

It is based on official python images and just adds ansible with ansible-lint and setting a non-root runtime user. The "latest" tag will use the latest version of ansible and ansible-lint, but tags with previous versions will be preserved

SCM repo is https://github.com/atterdag/ansible-lint-docker⁠

⁠Running

docker run --rm --tty --volume <full or relative path to ansible code>:/workspace atterdag/ansible-lint <ansible YAML file(s)> [<ansible-lint switches>]

⁠Example

docker run --rm --tty --volume ~/src/github/atterdag/ansible-filters-ldif/test:/workspace atterdag/ansible-lint inventory.yml playbook.yml --parseable

Tag summary

Content type

Image

Digest

sha256:bd9dfe522…

Size

186.7 MB

Last updated

about 1 year ago

docker pull atterdag/ansible-lint