Lint Playbook
A simple tool to check ansible-playbooks for logical consistencies. It uses Simple Interceptor to achieve this.
Setup
Using pip:
pip install LintPlaybook==0.1.dev1
From Source:
git clone https://github.com/host-anshu/lint-playbook
cd lint-playbook
# either
python setup.py install
# or, to install in development mode
python setup.py develop
Usage
lint-pbook <ansible-playbook options> ex_playbook.yml
Example
For cases when it encounters setup failures:
Otherwise
Roadmap
Implement all of the rules here.
Implemented Rules
Rules that have been implemented(alpha stage) are: