Role Detail

geerlingguy.repo-epel

EPEL repository for RHEL/CentOS.
Downloads
46830
Type Ansible
Minimum Ansible Version 2.1
Installation $ ansible-galaxy install geerlingguy.repo-epel
Tags
epel
packaging
repo
repository
Last Commit
Last Imported
Version History
Version Release Date
1.2.3
1.2.2
1.2.1
1.2.0
1.1.2
1.1.1
1.1.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
OS Platforms
Platform Version
EL 5
EL 6
EL 7
Last 10 Imports
Completed Status
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS

Ansible Role: EPEL Repository

Build Status

Installs the EPEL repository (Extra Packages for Enterprise Linux) for RHEL/CentOS.

Requirements

This role only is needed/runs on RHEL and its derivatives.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

epel_repo_url: "http://download.fedoraproject.org/pub/epel/{{ ansible_distribution_major_version }}/{{ ansible_userspace_architecture }}{{ '/' if ansible_distribution_major_version < '7' else '/e/' }}epel-release-{{ ansible_distribution_major_version }}-{{ epel_release[ansible_distribution_major_version] }}.noarch.rpm"
epel_repo_gpg_key_url: "/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-{{ ansible_distribution_major_version }}"

The EPEL repo URL and GPG key URL. Generally, these should not be changed, but if this role is out of date, or if you need a very specific version, these can both be overridden.

Dependencies

None.

Example Playbook

- hosts: servers
  roles:
    - geerlingguy.repo-epel

License

MIT / BSD

Author Information

This role was created in 2014 by Jeff Geerling, author of Ansible for DevOps.

None