Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ansible-lint playbook and role validation — syntax checking, best practice enforcement, project-wide analysis, rule filtering. Use when validating Ansible playbooks, checking code quality, or enforcing automation best practices before deployment.
.claude/skills/automateyournetwork-aap-lint/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-08 | ✗→✓ | ▲ Improved | -21% | 0% |
| case-10 | ✗→✓ | ▲ Improved | -8% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 114% | 0% |
| case-14 | ✗→✓ | ▲ Improved | -3% | 0% |
| case-17 | ✗→✓ | ▲ Improved | -40% | 0% |
uv run ansible-lint.py)git clone + uv sync (or pip install -e .)ansible-lint installed| Tool | What It Does | |------|-------------| | lint_playbook | Lint playbook content with configurable profiles and output formats | | lint_file | Lint a specific Ansible file at a given path | | lint_role | Comprehensive linting of an Ansible role directory | | list_rules | Display available ansible-lint rules with optional tag filtering | | list_tags | Show all tags for categorizing lint rules | | validate_syntax | Quick syntax validation using syntax-specific rules | | check_best_practices | Evaluate content against best practices with severity categorization | | analyze_project | Comprehensive report on an entire Ansible project structure | | get_ansible_lint_version | Return installed ansible-lint version |
| Concept | What It Means | |---------|---------------| | Profile | Lint strictness level (min, basic, moderate, safety, shared, production) | | Rule | Individual lint check (e.g., yaml[truthy], no-changed-when, fqcn) | | Tag | Rule category for filtering (e.g., command-shell, formatting, idiom) | | FQCN | Fully Qualified Collection Name — required in production profiles |
validate_syntax — catch YAML and Ansible syntax errorscheck_best_practices — evaluate against standardslint_playbook with production profile — comprehensive checklist_rules — understand which rules triggered violationsanalyze_project — scan entire Ansible project structurelint_role for each role directory| Skill | How They Work Together | |-------|----------------------| | aap-automation | Validate playbooks before running them through AAP job templates | | aap-eda | Lint rulebook playbook actions before EDA activation | | github-ops | CI/CD lint checks on PR playbook changes | | gait-session-tracking | Audit trail for lint results and quality gate decisions |
production profile for production deployments, basic for developmentOther measured skills in the registry, with their headline benchmark lift.