Ansible
v1.9.0Ansible playbook validation and configuration management best practices
Installation
Install han binary (required for hooks to work):
curl -fsSL https://han.guru/install.sh | bashThen install this plugin:
han plugin install jutsu-ansibleOverview
Ansible playbook validation and configuration management best practices.
Features
- Validates Ansible playbooks with
ansible-lint - Provides skills for working with Ansible
Requirements
Install Ansible:
# macOS
brew install ansible ansible-lint
# Linux
pip install ansible ansible-lint
Skills Included
- ansible-playbooks: Writing and organizing Ansible playbooks
Hook Behavior
Validates Ansible playbooks in directories containing .yml or .yaml files using ansible-lint.
Installation
Install with npx (no installation required):
han plugin install jutsu-ansible
Skills
ansible-inventory
Use when managing hosts and groups in Ansible inventory for organizing infrastructure and applying configurations across environments.
ansible-playbooks
Use when writing and organizing Ansible playbooks for automated configuration management and infrastructure orchestration.
ansible-roles
Use when structuring and reusing code with Ansible roles for modular, maintainable automation and configuration management.
Hooks
Token Usage Notice
Hooks run automatically during Claude Code sessions and their output is sent to the model for processing. This may increase token usage and associated costs. Consider disabling hooks you don't need via han-config.yml.
Stop
Runs when the main Claude Code agent has finished responding. Can verify task completion, check quality gates, or ensure documentation requirements are met before the session ends.
SubagentStop
Runs when a Claude Code subagent (Task tool call) has finished responding. Can validate subagent outputs, enforce quality standards, or trigger additional workflows after delegated tasks complete.