Interview Prep/Ansible/Performance, Testing and CI/CD

A teammate asks if tags are enough to protect production from partial runs.

IntermediateScenarioPerformance, Testing and CI/CD
Answer

Situation read → Tags are convenience, not safety.

What I'd do → Explain they are easy to misuse (a missing tag skips a needed task). For safety, use separate playbooks or workflow nodes, limits enforced in AWX, and approval gates.

Why → --tags can leave dependencies unexecuted, such as a package install skipped before a config task.

Interview tip → Use always tags for prerequisites like fact gathering and variable loading.

All Ansible questions Roadmap: Ansible

More on Performance, Testing and CI/CD