Why use configuration management (Ansible) even with golden images?
IntermediateProductionPatching, Automation & Golden Images
Answer
The same Ansible roles build the image (Packer provisioner) and keep long-lived servers converged, so one source of truth exists. It handles things images cannot: rotating certificates, adding users fleet-wide, emergency config changes, and drift remediation on stateful hosts. Running playbooks in --check --diff mode on a schedule also detects drift.
More on Patching, Automation & Golden Images
What does a good Linux patching strategy look like?BeginnerIn-place patching vs immutable image replacement: which do you prefer?IntermediateHow do you know whether a server needs a reboot after patching?BeginnerHow do you configure automatic security updates?BeginnerWhat is kernel live patching?IntermediateHow do you roll kernel updates across a 200-node fleet safely?Advanced