How to Use: ansible-lint

Install Link to heading

From package:

# Manjaro / Arch
sudo pacman -S ansible-lint

# Alpine
apk add --update ansible-lint

From Docker (no official image so use mine):

docker run --rm -it -v "$PWD":/work -w /work sdwolfz/ansible-lint:latest sh

Configure Link to heading

Add a .ansible-lint file containing your rules:

---

skip_list:
  - yaml  # Violations reported by yamllint.

Use Link to heading

ansible-lint roles/**/*