Skip to main content

Ansible

Simple, agentless IT automation that anyone can use. Ansible is a universal language, unraveling the mystery of how work gets done. Turn tough tasks into repeatable playbooks. Roll out enterprise-wide protocols with the push of a button.

🌐 ansible.com, github.com, docs.ansible.com

Learn​

Documentation​

Concepts​

  • Control nodes

    Any machine with Ansible installed. Ansible commands and playbooks can be run by invoking the ansible or ansible-playbook command from any control node (any computer that has a Python installation). Having multiple control nodes is possible.

  • Managed nodes

    The network devices (and/or servers) managed with Ansible. Managed nodes are also sometimes called β€œhosts”. Ansible is not installed on managed nodes.

  • Inventory

    A list of managed nodes. An inventory file is also sometimes called a β€œhostfile”. The inventory can specify information like IP address for each managed node. An inventory can also organize managed nodes, creating and nesting groups for easier scaling.

  • Collections

    Collections are a distribution format for Ansible content that can include playbooks, roles, modules, and plugins. You can install and use collections through Ansible Galaxy.

  • Modules

    The units of code Ansible executes. Each module has a particular use, from administering users on a specific type of database to managing VLAN interfaces on a specific type of network device. A single module with a task can be invoked, or several different modules in a playbook. Starting in Ansible 2.10, modules are grouped in collections.

  • Tasks

    The units of action in Ansible. A single task can be executed once with an ad hoc command.

  • Playbooks

    Ordered lists of tasks, saved so that those tasks in that order repeatedly. Playbooks can include variables as well as tasks. Playbooks are written in YAML and are easy to read, write, share and understand.

β†’ docs.ansible.com

Additional content​

Getting started​

Learning path​

Tutorials​

Guides​

Network automation​

Public Cloud automation​

Azure​

Virtualization and Containerization automation​