About Ansible

Ansible is a tool to automate tasks execution on remote hosts.

Table of contents

Ansible documentation

YAML Syntax

YAML syntax is used everywhere in Ansible.

Jinja2 Templates

Jinja2 engine is used for templating.

Official documentation

Ansible official documentation is a good place to start.

Ansible terminology


An inventory defines all your hosts and groups.


A module abstracts an action to run on remote hosts like file copy or package installation. Here is a list of available modules.


A task uses an Ansible module to define an atomic action to run on remote hosts.


A role regroups a set of related tasks.


A playbook associates hosts or groups of hosts to corresponding roles.


An handler is a special task within a role not run directly but triggered by other tasks.


Do I really need to define what is a variable ?