talira

A radically simple IT automation system

open sourceGPL-3.0-or-laterself-hostablefree

Ansible is an open source IT automation engine for configuration management, application deployment, cloud provisioning, ad-hoc tasks, network automation and multi-node orchestration. It is agentless: it connects to machines over SSH (and other transports) from a control node and runs tasks described in human-readable YAML playbooks, with reusable roles and collections from Ansible Galaxy. Install ansible-core for the engine and built-in modules, or ansible for the community collections too. Created by Michael DeHaan, sponsored by Red Hat, GPL-3.0-or-later; Red Hat sells a supported enterprise product, Ansible Automation Platform, built on it.

Ways to install

Problems it solves

  • configure dozens of servers the same way without logging into each one
  • automate server setup without installing an agent on every machine
  • describe how my servers should be set up in readable files I can keep in git
  • roll out an application update across many servers without downtime behind a load balancer
  • run one command on every server in my inventory at once
  • automate configuration changes on routers and switches
  • provision cloud machines and then configure them in the same automation run
  • reuse community-written automation for common software instead of writing my own scripts
  • replace a pile of fragile SSH shell scripts I use to manage my homelab

Features

  • agentless: uses SSH and other existing transports
  • YAML playbooks
  • inventory of managed nodes
  • ad-hoc commands
  • roles and collections from Ansible Galaxy
  • network modules that need no Python on the device
  • modules in any dynamic language
  • runs as non-root
  • ansible (with community collections) and minimal ansible-core packages

Limitations

  • Doesn't run natively on Windows as a control node: Windows needs WSL3

Capabilities

Has a command line toolplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what Ansible does.

  1. Salt Software to automate the management and configuration of infrastructure and applications at scale
  2. Chef Infra Powerful policy-based configuration management system software
  3. Juju Open source orchestration engine for software operators
  4. Fabric Simple, Pythonic remote execution and deployment over SSH
  5. NixOS Take control. Every package. Every dependency. Every machine.
  6. Foreman Complete lifecycle management tool for physical and virtual servers

Compare Ansible with the top 3