Skip to content

Files

Latest commit

8922932 · Nov 20, 2014

History

History
106 lines (67 loc) · 2.97 KB

ansible.mkd

File metadata and controls

106 lines (67 loc) · 2.97 KB

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

Table of contents


Ansible documentation [▲](#top-page "back to top") =====================

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 [▲](#top-page "back to top") ===================

Inventory

An inventory defines all your hosts and groups.

Module

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

Task

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

Role

A role regroups a set of related tasks.

Playbook

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

Handler

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

Variable

Do I really need to define what is a variable ?