How to Install Anible IN Redhat 7/ Centos 7 Servers
- Last Updated On: September 24, 2016
- By: Scriptcrunch Editorial
How do I install latest ansible server on a Redhat or Centos 7 server?
You can easily install the latest stable version of ansible in a Redhat or centos7 server using the EPEL repo. The default yum repo does have the ansible installation. Follow the steps for the ansible setup.
You can install Ansible in two ways.
- Using yum repository
- From the source.
Install using yum
1. Setup EPEL repository.
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm sudo rpm -ivh epel-release-7-8.noarch.rpm
2. Update Server.
sudo yum update -y
3. Install ansible.
sudo yum install ansible
4. Confirm the ansible installation by checking ansible server version.
ansible --version
Install from source
1. Clone the ansible source from Github
git clone git://github.com/ansible/ansible.git --recursive
2. CD into ansible clone.
cd ./ansible
3. Setup using bash
Scriptcrunch Editorial
Other Interesting Blogs
[50% OFF] Kubernetes Certification Coupons (CKA, CKAD, CKS, KCNA and KCSA)
Looking for CKA coupon and other Kubernetes certification coupon codes? You have come to the right place. Following are the list of
[80% OFF] Linux Foundation Coupon for December 2024
Looking for CKA Coupon and other Linux Foundation certifications coupons? We got you covered. With the latest Linux Foundation Coupon, you can
[65% OFF] Linux Foundation LFCA, LFCS & LFCT Exam Voucher Codes
Linux Foundation has announced up to a $284 discount on its Linux certification programs Linux Foundation Certified IT Associate (LFCA) and Linux