ansible-lint

Install latest/stable of ansible-lint

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install durrendal-ansible-lint

Don't have snapd? Get set up for snaps.

Channel Version Published

Best practices checker for Ansible

ansible-lint checks playbooks for practices and behavior that could potentially be improved. It is heavily community-driven and extensively configurable to fit various use cases.

Features:

  • Checks Ansible playbooks, roles, and task files for best practices
  • Extensive rule set covering common issues and anti-patterns
  • Configurable rules and linting options
  • Support for custom rule directories
  • Multiple output formats (SARIF, JSON, parseable)
  • Integration with pre-commit hooks and CI/CD pipelines
  • Colored terminal output
  • Auto-fix capabilities for certain rules
  • Support for Ansible Galaxy collections

<a href="https://www.flaticon.com/free-icons/letter-a" title="letter a icons">Letter a icons created by yukyik - Flaticon</a>

Details for ansible-lint

License
  • GPL-3.0

Last updated
  • 2 October 2025 - latest/stable
  • 2 October 2025 - latest/edge

Websites

Contact

Source code

Report a bug

Report a Snap Store violation

Share this snap

Generate an embeddable card to be shared on external websites.


Install ansible-lint on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.


Where people are using ansible-lint

Users by distribution (log)

Ubuntu 24.04