fbpx

Server Setup

How to install latest stable Ansible in CentOS 7

by , , revisited on


We have by far the largest RPM repository with NGINX module packages and VMODs for Varnish. If you want to install NGINX, Varnish, and lots of useful performance/security software with smooth yum upgrades for production use, this is the repository for you.
Active subscription is required.

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

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.