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.
Installation Steps:
- Open Terminal using Spotlight search by pressing
<command+space>
.
Type terminal and hitEnter
key. - Now, run
ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” < /dev/null 2> /dev/null - Install ansible-lint using brew
brew install ansible-lint
ansible-lint is ready to use now!