Ansible & Configuration
changed_when
changed_when overrides a task change assessment.
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
- HandlersBeginner · 4 min
Handlers run when notified by changed tasks.
- Check modeBeginner · 4 min
Check mode previews tasks without committing changes when supported.
- RoleBeginner · 4 min
Role packages tasks handlers defaults and templates.
- Jinja2 templateBeginner · 4 min
Jinja2 template renders variable-driven configuration files.
- VaultBeginner · 4 min
Vault encrypts secrets stored with Ansible.
- TagsBeginner · 4 min
Tags limit task execution to selected subsets.