Public | Automated Build

Last pushed: 2 years ago
Short Description
ansible-lint checks playbooks for practices and behaviour that could potentially be improved
Full Description


pinterb/ansible-lint is a docker image that bundles the following:


  • The container runs as "dev" user (i.e. UID 1000). Please keep this in mind as you mount volumes!
  • The following volumes exist (and are owned by dev):
    • /data
    • /ops
    • /state
    • /ansible
    • /home/dev/.ssh
  • /ansible is your default workdir. Knowing this will be helpful when you're mounting your playbook for linting.
  • /home/dev is $HOME
  • The entrypoint for this image is /usr/bin/ansible-lint. This should be sufficient for most use cases.


This image can easily be extended. But to analyze your Ansible playbooks:

docker run -it --rm \
    -v $(PLAYBOOK_DIR):/ansible \
    pinterb/ansible-lint:2.3.1 site.yml

Misc. Info

  • Latest version: 2.3.1
  • Built on: 2016-08-11T14:24:02EDT
  • Base image: pinterb/base:alpine (dockerfile)
  • Dockerfile
Docker Pull Command
Source Repository