Ansible is a free configuration management tool, it supports managing the configurations of Unix-like and Microsoft windows systems. Ansible manages nodes over SSH or PowerShell and python to be installed on them. Ansible helps you to perform configuration, management and deployment of softwares on 100s of nodes using SSH, the entire operation can be executed by one single command ‘ansible’.
We will learn how to install Ansible on CentOS/RHEL and Ubuntu.
CentOS
Unfortunately, Redhat does not provide any repostiry for Ansible. We will have to enable the epel repository to install Ansbile on CentOS/RHEL.
# CentOS 7 / RHEL 7
# rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Now you can install ansible using yum
yum install ansible
Ubuntu
# Ubuntu 14.04 / 15.04
$ sudo apt-get install software-properties-common
$ sudo apt-add-repository ppa:ansible/ansible
$ sudo apt-get update
$ sudo apt-get install ansible
You can verify the Ansible installation using the following command
$ ansible –version
ansible 1.9.2
The next step is to deploy using Ansible on Remote Hosts. Visit this link to know how to deploy using Ansible.
Setting up your first Azure Virtual Machine can be done by following these steps: Create…
Amazon CloudFront is a content delivery network (CDN) that helps you serve static content such…
Step-By-Step Guide To Setting Up An AWS Application Load Balancer Are you looking for a…
MySQL databases often get corrupted due to issues like hardware failure, file system failure etc.…
SQL Server Replication is the process of copying databases from one node to another to…
Here are 101 System Admin tools which make System Admins' life easy.
This website uses cookies.