Installation Setup Of Ansible on Linux | In this
article we learn about the installation setup of ansible
Two types
of machines are required to create ansible deployment setup
Control machine: Ansible
needs to install on one machine.This machine is called control machine.
Remote machine: need to define the systems
in the inventory file (which is the text file) on which configuration will
done.Overall we can say which machine is controlled by control machine is
called remote machine.
Many remote machines are handled by one controlling machine. For that purpose we need to install ansible on the controlling machine.
Installation Requirement to setup ansible
Python2 and Python3 must be installed to run the ansible.
NOTE:Windows isn’t supported for the control
machine
Ansible
does not required database and does not required any daemon to run the ansible
service .Ansible connect to the remote nodes through ssh by default.
How to install ansible on centos 7/rhel 7/Ubuntu 16.04
To
install the ansible package on rhel machine you need to enable epel repo.
After install and enabling epel repository, we can install Ansible
using below command.
yum install ansible -y
After running the above command you can manage remote machine
through ansible.
In Ubuntu there is no need to install extra repository. By default ansible package is available in Ubuntu. We can install ansible in Ubuntu using the below command.
apt-get install ansible -y
After installing ansible we can verify the version of ansible by
hitting the below command.
ansible --version
Please Donate To Bitcoin Address: [[address]]
Donation of [[value]] BTC Received. Thank You.
[[error]]
0 comments:
Post a Comment