How to install latest stable Ansible in CentOS 7
by Danila Vershinin, , revisited on
GetPageSpeed keeps NGINX and Varnish servers fast and secure: performance modules and builds, plus security fixes within days, all through routine
Free to install; commercial production use requires a subscription.
dnf, yum or apt upgrades. It maintains the largest RPM repository of NGINX module packages and Varnish VMODs, with APT packages for Debian and Ubuntu.
Free to install; commercial production use requires a subscription.
The EPEL repository usually contains quite a recent, but not always the latest version of Ansible.
To get absolutely latest, yet stable version of Ansible, add this official repository.
Create file /etc/yum.repos.d/ansible.repo:
[ansible]
name=Ansible RPM repository for Enterprise Linux 7 - $basearch
baseurl=https://releases.ansible.com/ansible/rpm/release/epel-7-$basearch/
enabled=1
gpgcheck=1
gpgkey=https://releases.ansible.com/keys/RPM-GPG-KEY-ansible-release.pub
Alternatively, you can do:
yum install https://extras.getpagespeed.com/release-latest.rpm
yum install ansible-release