Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geerlingguy/ansible-role-repo-epel
Ansible Role - EPEL Repository for RHEL/CentOS
https://github.com/geerlingguy/ansible-role-repo-epel
ansible centos epel redhat repo repository rhel role setup
Last synced: 4 days ago
JSON representation
Ansible Role - EPEL Repository for RHEL/CentOS
- Host: GitHub
- URL: https://github.com/geerlingguy/ansible-role-repo-epel
- Owner: geerlingguy
- License: mit
- Created: 2014-03-01T03:38:19.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-07-16T19:23:31.000Z (5 months ago)
- Last Synced: 2024-10-10T04:06:31.392Z (2 months ago)
- Topics: ansible, centos, epel, redhat, repo, repository, rhel, role, setup
- Homepage: https://galaxy.ansible.com/geerlingguy/repo-epel/
- Size: 54.7 KB
- Stars: 186
- Watchers: 14
- Forks: 149
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome - ansible-role-repo-epel
- awesome-systools - Ansible Role: EPEL Repository
- awesome-list-ansible - ansible-role-repo-epel - EPEL Repository for RHEL/CentOS (redhat)
README
# Ansible Role: EPEL Repository
[![CI](https://github.com/geerlingguy/ansible-role-repo-epel/workflows/CI/badge.svg?event=push)](https://github.com/geerlingguy/ansible-role-repo-epel/actions?query=workflow%3ACI)
Installs the [EPEL repository](https://fedoraproject.org/wiki/EPEL) (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.
epel_repo_disable: false
Set to `true` to disable the EPEL repo (even if already installed).
## Dependencies
None.
## Example Playbook
- hosts: servers
roles:
- geerlingguy.repo-epel## License
MIT / BSD
## Author Information
This role was created in 2014 by [Jeff Geerling](https://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).