Interview Prep/Ansible/Architecture Decisions and Tool Comparisons

Should Ansible do application deployments or should a CD tool?

AdvancedProductionArchitecture Decisions and Tool Comparisons
Answer

It depends on where the app runs.

  • VMs and bare metal: Ansible is a solid deployment engine. Rolling batches, load balancer drain, health checks and rollback are all first-class. Often the CD tool (Jenkins, GitHub Actions, GitLab) orchestrates the pipeline and calls Ansible for the deploy step.
  • Containers on Kubernetes or ECS: use the platform's native deploy (Argo CD, Helm, ECS deployments with circuit breakers). Ansible adds a layer without adding value.
  • Serverless: SAM, CDK or Terraform.

Signs Ansible deploys have outgrown their place: you are building a release dashboard, approval system and history on top of it. At that point a CD platform with Ansible as an executor is the better design.

All Ansible questions Roadmap: Ansible

More on Architecture Decisions and Tool Comparisons