How to Install ansible-lint in Ubuntu 18.04

Install ansible-lint by entering the following commands in the terminal:

sudo apt update
sudo apt install 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.


Version: 3.4.20+git.20180203-1

Section: universe/misc