Ansible Installation on Linux | Ansible Tutorial | EP - 2

Опубликовано: 21 Май 2024
на канале: DevOps Vijay
296
6

The ansible package can always be installed from PyPI using pip on most systems but it is also packaged and maintained by the community for a variety of Linux distributions.
Ansible is not available in the default RHEL repositories, so we need to install Extra Packages for Enterprise Linux (EPEL) in order to install it via yum. To do so, head on over to https://docs.fedoraproject.org/en-US/... and download the newest version of epel-release for your version of RHEL. Once you’ve downloaded that file, navigate to the download location in a terminal and install the RPM using the following command:

sudo rpm -i epel-release-latest-7.noarch.rpm
After installing EPEL, you need to update your package list. This tells yum about all the new packages you can install.

sudo yum update
Installing Ansible via yum works much the same way as any other yum package. Simply pop open a terminal and run the following command:

sudo yum install ansible
Now, we are done. To test things out, simply ping your Ansible server on localhost. You should receive a “pong” in response.

ansible localhost -m ping

links for installation of ansible official document:
https://docs.ansible.com/ansible/late...
Above doc contains steps for all the operating system
Installing Ansible on Fedora Linux
Installing Ansible from EPEL
Installing Ansible on OpenSUSE Tumbleweed/Leap
Installing Ansible on Ubuntu
Installing Ansible on Debian
Installing Ansible on Arch Linux
Installing Ansible on Windows

*************************************************************
Jenkins tutorial complete step by step guide :
How to install jenkins in windows:    • How to  Install Jenkins on Windows ? ...  
How to create first sample job in jenkins:    • How to Create First Freestyle Project...  
Poll scm jenkins :    • Jenkins Poll SCM GitHub | BUILD Trigg...  
How to install plugin in jenkins:    • Jenkins Plugins installation | EP 04 ...  
How to create pipeline in jenkins:    • Creating First Pipeline in Jenkins | ...  
Configure Slave agent in jenkins:    • Maven Installation & Jenkins Slave Ag...  
SSH-KEYS setup :    • SSH Key Based Password Less Authentic...  
Maven installation:    • Maven Installation on Windows | EP 01...  
Configure Maven with Nexus:    • Installation of Nexus Repository in w...  

*************************************************************
Ubuntu on Virtualbox:    • Need UBUNTU on Windows Operating Syst...  
Install Guest additions in oracle vm:    • Full screen issue ? | Install GUEST A...  
Install Tomcat on Ubuntu:    • How to Install  and configure Tomcat ...  

****************************************************
Devops interview questions:    • Test your DevOps skills and knowledge...  
Devops java project sample:    • Create Java Project in Maven | Folder...  
*****************************************************

Ansible tutorial
***********************************************
Introduction to ansible:    • Introduction to Ansible Architecture ...  
Ansible installation on linux:    • Ansible Installation on Linux | Ansib...  
Best practice for ansible folder structure:    • Ansible Directory Layout: Organize Yo...  

devops tutorial for beginners
devops full course
devops interview questions

#tutorial #devops #jenkins #jenkinstutorial #jenkinspipeline #learning #career #interview #question #jenkins #cicd #linux #devopsvijay #devopsproject #devopstraining #devopstrainingvideos #cicd #bashscripting #shellscripting #ansibletraining #ansibletutorial #ansible