A simple docker image that can run ansible-lint against your ansible code.
277
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
docker run --rm --tty --volume <full or relative path to ansible code>:/workspace atterdag/ansible-lint <ansible YAML file(s)> [<ansible-lint switches>]
docker run --rm --tty --volume ~/src/github/atterdag/ansible-filters-ldif/test:/workspace atterdag/ansible-lint inventory.yml playbook.yml --parseable
Content type
Image
Digest
sha256:bd9dfe522…
Size
186.7 MB
Last updated
about 1 year ago
docker pull atterdag/ansible-lint