How To Install Ansible-lint On Debian, Ubuntu, Arch, Kali, Fedora And MacOS?

How To Install Ansible-lint On Debian, Ubuntu, Arch, Kali, Fedora And MacOS?

ansible-lint

lint tool for Ansible playbooks

Maintainer: Gregory Colpart



Section: misc

Install ansible-lint

  • Debian apt-get install ansible-lint Click to copy
  • Ubuntu apt-get install ansible-lint Click to copy
  • Arch Linux pacman -S ansible-lint Click to copy
  • Kali Linux apt-get install ansible-lint Click to copy
  • Fedora dnf install ansible-lint Click to copy
  • macOS brew install ansible-lint Click to copy

ansible-lint

lint tool for Ansible playbooks

Ansible playbooks express configuration, deployment and orchestration in YAML format. They can describe a policy you want your remote systems to enforce, or a set of steps in a general IT process. ansible-lint checks Ansible playbooks for practices and behaviour that could potentially be improved.

python3-ansible-lint

Best practices checker for Ansible

python2-ansible-lint

Best practices checker for Ansible
To install the latest version of ansible-lint in your favorite operating system just copy the ansible-lint installation command from above and paste it into terminal. It will download and install the latest version of ansible-lint 2026 package in your OS.