/ansible-lint

Best practices checker for Ansible

Primary LanguagePythonMIT LicenseMIT

PyPI version Ansible-lint rules explanation Ansible Code of Conduct Discussions GitHub Actions CI/CD Language grade: Python pre-commit

Ansible-lint

ansible-lint checks playbooks for practices and behaviour that could potentially be improved. As a community backed project ansible-lint supports only the last two major versions of Ansible.

Visit the Ansible Lint docs site

Contributing

Please read Contribution guidelines if you wish to contribute.

Licensing

The code in the ansible-lint repository is licensed under the MIT license. If you contribute to this repository, that license applies to your contributions.

The ansible-lint project also imports the Ansible python module, which is licensed under the GPLv3 license. Because of this import, the GPLv3 rules apply to the full distribution of ansible-lint. We maintain the MIT license on the repository so we can fully use an MIT license in the future if we ever remove the runtime dependency on Ansible code.

Installing the ansible-lint python package does not install any GPL dependencies, all of them are listed as extras.

Authors

ansible-lint was created by Will Thames and is now maintained as part of the Ansible by Red Hat project.