Ansible is an IT automation engine that automates provisioning, configuration management, application deployment, orchestration and many other IT processes.
How Ansible works :
Ansible connects to nodes and sends them small programs, called "modules".
These modules perform the automation tasks in Ansible.
These programs represent resource models for the desired state of a system.
Ansible executes the modules, then deletes them. Without these modules, ad hoc commands and scripts are required to accomplish each task.