Interview Prep/Ansible/Rolling Updates, Delegation and Safe Deployments

How do you align Ansible runs with change management and maintenance windows?

IntermediateProductionRolling Updates, Delegation and Safe Deployments
Answer

Run prod changes through AWX/AAP or CI with an approval node (workflow approval) tied to the change ticket. Schedule jobs inside the window, and set a job timeout so it cannot overrun into business hours.

Attach a --check --diff run to the change request so approvers see exactly what will change. Silence monitoring for the affected hosts at the start and remove the silence at the end (in always). Post start, finish and failure notifications to the team channel, so the on-call knows what is happening.

All Ansible questions Roadmap: Ansible

More on Rolling Updates, Delegation and Safe Deployments