A step to run ansible-lint on an Ansible playbook.
This build-step depends on ansible / ansible-lint being installed, if it's missing, the buildstep wil fail. Please install those in your box wercker.yml
You can do this as follows -
build: steps: - pip-install requirements_file: "" packages_list: "ansible ansible-lint"
build: steps: - capgemini/ansible-lint: playbook: path/to/playbook.yml options: "-t TAGS"
Paths are relative to the top-level directory of the repo.
playbook is required
options is optional. The default for
For a list of supported options see https://github.com/willthames/ansible-lint#usage
The MIT License (MIT)