Install ansible-lint by entering the following commands in the terminal:
sudo apt update sudo apt install ansible-lint
Description:
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.
Homepage: https://github.com/willthames/ansible-lint
Version: 3.4.20+git.20180203-1
Section: universe/misc