QA on Ansible

Q.1 What is Ansible and what are its features?
Ansible is an open-source automation tool that helps the 
deployment, configuration management, and orchestration of
IT infrastructure. It is designed to automate repetitive tasks
and you can configure lot of things using this tool.

It is Agentless. Ansible uses a push-based architecture so it
does not require any software agents to be installed on the
managed hosts. It uses SSH or WinRM protocols to connect to
remote systems and perform tasks.


It has Playbooks. Ansible playbooks are written in YAML format.
It consist of a series of tasks that are executed sequentially
or in parallel. They allow you to define configurations,
deploy applications, run commands, and perform various actions
on target hosts.


It has this feature, Infrastructure as Code. Ansible treats
infrastructure as code, enabling you to define your
infrastructure and configurations in a human-readable format.

You have an Inventory Management in Ansible. It uses an
inventory file to keep track of the hosts it manages for
automation and configuration. The inventory file can be static
or dynamic, and it allows you to group hosts, define
variables, and manage host-specific configurations.

The most important thing in Ansible, It has a Module Library.
Ansible provides a rich set of modules that abstract system
operations and automation tasks. These modules cover a wide
range of areas such as package management, file manipulation,
service management, cloud services, network devices, and more.
Additionally, you can create your own custom modules to extend
Ansible's functionality.

Leave a Reply

Your email address will not be published. Required fields are marked *