ansible-lint
lint tool for Ansible playbooks
Install
- All systems
-
curl cmd.cat/ansible-lint.sh
- Debian
-
apt-get install ansible-lint
- Ubuntu
-
apt-get install ansible-lint
- Arch Linux
-
pacman -S ansible-lint
- Kali Linux
-
apt-get install ansible-lint
- Fedora
-
dnf install ansible-lint
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install ansible-lint
- OS X
-
brew install ansible-lint
- Dockerfile
- dockerfile.run/ansible-lint
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.