Ansible

What is Ansible?

Ansible is an open-source tool that sets up and maintains servers from written instructions instead of by hand. Red Hat develops it and sells a supported version.

Talk to an engineer Knowledge base
Rows of black server racks with status lights in a data center

How it works

An administrator writes a playbook, a text file describing how each server should look: which software is installed, which user accounts exist, which settings are in place. Ansible logs in to each server, the same way an administrator would log in to a Linux server, and makes it match. Nothing extra has to be installed on the servers beyond Python, which Ansible uses to do its work there.

If a server already matches, Ansible leaves it alone, so the same playbook can be run again at any time to catch and undo changes someone made by hand.

Why a business would care

A server set up by hand lives in one person's memory. When it fails, or that person leaves, rebuilding it is guesswork. With a playbook, every server built from it ends up the same, a failed one can be rebuilt from the file, and because playbooks are text they can be kept in Git, where each change is recorded and reviewed before it runs.

Ansible is often paired with Terraform: Terraform creates the machines and networks, then Ansible configures what runs on them.

Our approach

We administer Ubuntu, Debian and RHEL-family servers and keep infrastructure as code in version control. Our Kubernetes clusters are run with GitOps, where the cluster's configuration lives in a Git repository. The goal is the same as Ansible's: a build that can be repeated and a record of every change.

Related services

Linux server support

Administration of Ubuntu, Debian and RHEL-family servers.

Kubernetes consulting

Clusters whose configuration is kept in Git.

Proxmox consulting

The virtual machines many servers run on.

Learn more

  • Ansible documentationThe official guides for the person who will write and run the playbooks.
  • Ansible websiteRed Hat's site for Ansible, covering the free project and the paid, supported version.
  • Ansible on WikipediaA neutral overview of how Ansible works and how it came to be part of Red Hat.

Related guides

LinuxPythonGitTerraformUbuntuDebianKubernetesSSH

Servers set up by hand?

Tell us how your servers are built and changed today. We will show what keeping that configuration in files would involve.

Start a conversation