shaneholloman.epel
Ansible Role: epel
This role installs the EPEL repository (Extra Packages for Enterprise Linux) for RHEL/CentOS systems.
Requirements
This role is only needed on RHEL and its related systems.
Role Variables
Here are some important variables you can use (see defaults/main.yml
for more details):
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 }}"
- epel_repo_url: URL for the EPEL repository.
- epel_repo_gpg_key_url: URL for the GPG key.
You generally don't need to change these unless you're using a specific version or if the role is outdated.
epel_repo_disable: false
Set this to true
if you want to disable the EPEL repository, even if it's already installed.
Dependencies
There are no dependencies for this role.
Example Playbook
Here’s a simple playbook example that uses this role:
- hosts: servers
roles:
- shaneholloman.epel
License
This role is released under the Unlicense.
Author Information
This role was created in 2023.
Informazioni sul progetto
EPEL repository for RHEL/CentOS.
Installa
ansible-galaxy install shaneholloman.epel
Licenza
unlicense
Download
661
Proprietario