Ansible & Configuration
Handlers
Handlers run when notified by changed tasks.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A command to try yourself
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Ansible & Configuration
- Dynamic inventoryBeginner · 4 min
Dynamic inventory discovers machines through an external provider.
- Declarative modulesBeginner · 4 min
Declarative modules converge systems to a desired state.
- Check modeBeginner · 4 min
Check mode previews tasks without committing changes when supported.
- changed_whenBeginner · 4 min
changed_when overrides a task change assessment.
- RoleBeginner · 4 min
Role packages tasks handlers defaults and templates.
- Jinja2 templateBeginner · 4 min
Jinja2 template renders variable-driven configuration files.