Installs Remi's RPM repository for RHEL/CentOS.
On RHEL 8 or newer, you should make sure to install or enable the EPEL repository. I recommend using the geerlingguy.repo-epel
repository.
Available variables are listed below, along with default values (see defaults/main.yml
):
remi_repo_url: "https://rpms.remirepo.net/enterprise/remi-release-{{ ansible_distribution_major_version }}.rpm"
The URL from which the Remi repo .rpm
will be downloaded and installed.
remi_repo_gpg_key_url: "https://rpms.remirepo.net/RPM-GPG-KEY-remi2018"
Remi repo GPG key location. Can be set to a local file or to the URL from Remi's website.
None.
- hosts: servers
roles:
- geerlingguy.repo-remi
MIT / BSD
This role was created in 2014 by Jeff Geerling, author of Ansible for DevOps.