geerlingguy.repo-remi
Ansible Role: Remi Repository
This role installs Remi's RPM repository on RHEL/CentOS systems.
Requirements
If you are using RHEL 8 or a newer version, make sure to install or enable the EPEL repository. It’s recommended to use the geerlingguy.repo-epel
repository.
Role Variables
Here are the variables you can use, along with their default values (see defaults/main.yml
):
remi_repo_url
: "https://rpms.remirepo.net/enterprise/remi-release-{{ ansible_distribution_major_version }}.rpm"This is the URL from which the Remi repository
.rpm
file will be downloaded and installed.remi_repo_gpg_key_url
: "https://rpms.remirepo.net/enterprise/{{ ansible_distribution_major_version }}/RPM-GPG-KEY-remi"This is the location of the GPG key for the Remi repository. You can set it to a local file or use the URL from Remi's website.
Dependencies
There are no required dependencies.
Example Playbook
- hosts: servers
roles:
- geerlingguy.repo-remi
License
This role is licensed under MIT / BSD.
Author Information
This role was created in 2014 by Jeff Geerling, the author of Ansible for DevOps.
Remi's RPM repository for RHEL/CentOS.
ansible-galaxy install geerlingguy.repo-remi