This repository is for testing planned new ansible-lint rules. The official adoption of these rules will occur in the ansible-lint repository - we will solicit community feedback there during PR proposals.
Ansible Lint will be used by the Galaxy server, starting in version 3.1 (under development), and a yet to be determined future release of Mazer, the new Galaxy CLI, to evaluate Ansible content.
see RULE_DOCS.md
This guide assumes you have an Ansible role available locally, e.g. in roles/example.rolename
.
- Install Ansible Lint:
pip install ansible-lint
- Clone this repo:
git clone git@github.com:ansible/galaxy-lint-rules.git
- Run Ansible Lint using the galaxy-lint-rules:
ansible-lint -r galaxy-lint-rules/rules roles/example.rolename