Corilus Docker Image for ansible/ansible-lint
$ docker run --rm corilus/ansible-lint
with find
$ docker run --rm -v ${PWD}:/work -w /work corilus/ansible-lint sh -c 'find . -name "*.yml" | xargs -r ansible-lint --force-color'
with git ls-files
$ docker run --rm -v ${PWD}:/work -w /work corilus/ansible-lint sh -c 'git ls-files -z "*.yml" | xargs -r -0 ansible-lint'