How does Ansible compare with Puppet, Chef and Salt?
IntermediateProductionArchitecture Decisions and Tool Comparisons
Answer
- Ansible: agentless push over SSH or WinRM, YAML, easy to start, excellent for orchestration and ad-hoc work. Weaker at continuous enforcement unless you schedule runs.
- Puppet: agent-based pull with a declarative DSL and a central catalog. Strong continuous enforcement and reporting; more infrastructure and a steeper learning curve.
- Chef: agent-based, Ruby DSL, very flexible, popular with developer-heavy teams; usage has declined.
- Salt: agent (minion) with a fast ZeroMQ bus, can also run agentless; strong for event-driven and very large fleets.
Many large companies still run Puppet for baseline config and Ansible for orchestration. For new projects Ansible usually wins on simplicity and hiring.
More on Architecture Decisions and Tool Comparisons
Ansible or Terraform: where do you draw the line?BeginnerWhy use Ansible instead of shell scripts?BeginnerWhere does Ansible fit once you run Kubernetes?Intermediatecloud-init or Ansible for first boot configuration?IntermediateWhen would you use AWS Systems Manager instead of, or together with, Ansible?IntermediateShould Ansible do application deployments or should a CD tool?Advanced