Which characteristic distinguishes Ansible from Chef?

By | November 30, 2022

  • A. Ansible uses Ruby to manage configurations. Chef uses YAML to manage configurations.
  • B. The Ansible server can run on Linux, Unix or Windows. The Chef server must run on Linux or Unix.
  • C. Ansible pushes the configuration to the client. Chef client pulls the configuration from the server.
  • D. Ansible lacks redundancy support for the master server. Chef runs two masters in an active/active mode.
Answer: Option C.

Ansible works by connecting to your nodes and pushing out small programs, called “Ansible modules” to them. These programs are written to be resource models of the desired state of the system. Ansible then executes these modules (over SSH by default), and removes them when finished.
Chef is a much older, mature solution to configure management. Unlike Ansible, it does require an installation of an agent on each server, named chef-client. Also, unlike Ansible, it has a Chef server that each client pulls configuration from.

The post Which characteristic distinguishes Ansible from Chef? appeared first on Majanto.