Ansible is an open-source automation tool written in Python. It runs on UNIX-like systems and can arrange and design both UNIX-like and Windows frameworks. Unlike other automation software, Ansible does not require an agent to run on a target system. It is on the SSH connection and python compiler the given tasks on the target system. Ansible can be introduced on a cloud server to manage other cloud servers from a central location, or it can likewise be configured to use on an individual framework to oversee cloud or on-premises frameworks. Configuration management systems are designed to make controlling large numbers of servers easy for administrators and operations teams.
Perquisite
Linux |
Centos 7 Installed |
Internet Connectivity |
There will be high internet Speed |
Python Installed |
The python should be installed for using of pip |
|
|
Before Starting The Installation Some Basic Terms
Epel Repository-The full form of EPEL is Extra Packages for Enterprise Linux. It is a software package repository for Red Hat Enterprise Linux (RHEL) and CentOS. The EPEL repository is made available by the Fedora team. They provide free and open-source packages that are not available in the official package repository of RHEL and CentOS to extend the functionalities of these operating systems. EPEL packages are of very high quality and very stable.
Paramiko - Paramiko is a Python (2.7, 3.4+) implementation of the SSHv2 protocol [1], providing both client and server functionality. While it leverages a Python C extension for low-level cryptography (Cryptography), Paramiko itself is a pure Python interface around SSH networking concepts.
Step 1- Installation of Epel Relaese
On CentOS 7, EPEL 7 package repository can be enabled easily. If you have CentOS 7 extras repository enabled, then all you have to do is install the Epel-release package to enable EPEL 7 repository on CentOS 7. You can also install EPEL 7 package from the official website of EPEL to enable EPEL 7 repository on CentOS 7.
Step 2 :-
Installation of paramiko
Step-3
Installation of Ansible
Step -4:-
Ansible --version