Ansible is an open-source automation tool that is used for configuration management and application deployment. It simplifies the process of handling and automating various tasks on servers that will be managed in an agent-less manner using SSH.
Ansible has two key components: the “control machine” and the “nodes.”
- Control Machine: This represents the system on which Ansible is installed and where Ansible commands are run.
- Nodes: These refer to the remote servers or devices that we aim to manage using Ansible.

Ansible uses the inventory.yaml file to define hosts and groups of hosts upon which tasks in a playbook run.