Simple alpine-based Docker image for use with CI to lint yaml and ansible files.
Commands that are typically used running this container
ansible-lint
make
yamllint
docker run --rm -it -v $PWD/src bdebyl/yamllint 'ansible-lint *.yml'
---
kind: pipeline
type: docker
name: default
...
steps:
- name: lint
image: bdebyl/yamllint
command:
- ansible-lint *.yml
# or use a make targeT:
- make lint-ci