How to install Ansible in Centos 7/RHEL 7?
$ sudo yum install wget -y
$ wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
$ yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
$ sudo rpm -i epel-release-latest-7.noarch.rpm
$ sudo yum update -y
$ sudo yum install ansible -y
$ systemctl stop firewalld
$ systemctl disable firewalld
Install Ansible via Pip in RHEL/CENTOS
$ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
$ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py --insecure
$ python get-pip.py
$ pip --version
$ python get-pip.py
$ pip uninstall ansible
$ pip install ansible
$ ansible --version
VIDEO Ansible Fundamental tutorial by Manish in 2020
Ansible Advance Tutorial for Beginners with Demo 2020 — By DevOpsSchool
Ansible with network module (Part 01) — By DevOpsSchool
Ansible with network module (Part 02) — By DevOpsSchool
Ansible with network module (Part 03) — By DevOpsSchool
Ansible with network module (Part 04) — By DevOpsSchool
Ansible with network module (Part 05) — By DevOpsSchool
Ansible with network module (Part 06) — By DevOpsSchool
Ansible with network module (Part 07) — By DevOpsSchool
Ansible with network module (Part 08) — By DevOpsSchool
Ansible with network module (Part 09) — By DevOpsSchool
Ansible with network module (Part 10) — By DevOpsSchool
Ansible with network module (Part 11) — By DevOpsSchool
Ansible with network module (Part 12) — By DevOpsSchool
Ansible with network module (Part 13) — By DevOpsSchool
Mentor for DevOps - DevSecOps - SRE - Cloud - Container & Micorservices at
Cotocus Website - www.RajeshKumar.xyz Email - Contact@DevOpsSchool.com I can help in the following: - DevOps - DevSecOps - SRE - Continuous Integration & Delivery - Continuous Deployment & Inspection - Technical Debt Reduction - Containerization/Micro Services Using Kubernetes & Docker - Cloud Migration using AWS-Azure-GoogleCloud - Enterprise observability
Latest posts by Rajesh Kumar
(see all )