Read JSON, APIs and automation.
Configuration management and infrastructure provisioning
Ansible can automate tasks on managed systems. Its inventory identifies targets, and playbooks describe tasks using supported modules. Network-device support and connections depend on the chosen collection and platform. You do not need to install an agent on every target for every Ansible workflow, but you do need the supported access method.
Terraform manages infrastructure through providers using configuration and recorded state. A plan describes proposed changes before they are applied. State is operational data and can contain sensitive information. Treat it as something to protect, not a harmless public text file.
Review and validate infrastructure changes
- Write down the intended outcome and current state.
- Keep configuration in version control without secrets.
- Validate syntax and review the difference.
- Use a lab, appropriate check/plan support and a small scope.
- Apply through an authorised change process, then verify.
- Keep a recovery method and record the actual result.
Idempotence means repeating an operation should not keep introducing new changes once the intended state is reached. It depends on the operation and module; it is not a promise about every shell command. A plan or check-mode result is useful evidence, not a guarantee that execution cannot fail.
Practical exercise
A proposed automation change deletes an unexpected subnet. Should you apply it because the syntax validation passed?
Show the answer and explanation
No. Syntax validation and intent review are different. Investigate the target selection, configuration and state before making a change.
QUICK KNOWLEDGE CHECK
Check your understanding
Related labs and exercises
Sources & content checks
Technical references checked on 25 October 2026. These are original teaching explanations, not official Cisco course material. See how content and lab validation are described.
Your progress
Mark this complete when you can explain the example and do the exercise.