Ansible Introduction

15 Mar 2019

What is Ansible?

Ansible is an open source IT Configuration Management, Deployment & Orchestration tool. Ansible is “agentless”, using SSH to push changes from a single source to multiple remote resources. Ansible uses playbook to describe automation jobs, and playbook uses very simple language i.e. YAML (Yet Another Markup Language - human readable data serialization language commonly used to write configuration files ).

How Ansible Works?

Ansible works by connecting the control server to the remote nodes via playbook which contains the modules that are pushed (over SSH) and executed by the ansible server on the remote nodes and removes these modules when the task is finished. The inventory file provides the list of hosts where the Ansible modules needs to be run and the management node does a SSH connection and executes the small modules on the hosts machine and installs the product/software.