Introduction to Ansible

In short, Ansible is a versatile tool which can do configuration manamgement, provisioning, remote execution and a lot of other jobs.

What is Ansible?

Ansible is a modern automation tool which makes your life easier by managing your servers for you. You just need to define the configuration in which you are interested and ansible will go ahead and do it for you, be it installing a package or configuring a server application or even restarting a service. Ansible is always ready to manage your servers.

Why do we need it?

Managing a server is easy. Managing 5 is do'able. Managing hundreds or more is a painful task without automation. Ansible is designed to be simple and effective. You can create identical, replicable servers and clusters of servers in painless and reliable manner.

What are the advantages of using it?

How to install Ansible?

We will install the Ansible by yum. Package managers like dnf, yum and apt can be used to obtain a stable version and usually pip provides latest version.

# yum -y install epel-release
# yum -y install ansible git vim