adfinis-sygroup.epel

Ansible Role: EPEL Repository

GitHub Travis (.org) Ansible Galaxy

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

Role Variables

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

# Repository name
epel_repo_name: "epel"

# EPEL metalink URL. This should not be changed normally.
epel_repo_metalink_url: "https://mirrors.fedoraproject.org/metalink?repo=epel-{{ ansible_distribution_major_version }}&arch=$basearch"

# GPG Key for the Repository. This should not be changed normally.
epel_repo_gpg_key_url: "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-{{ ansible_distribution_major_version }}"

# EPEL repo file path. Do not add .repo extension for it.
epel_repofile_path: "/etc/yum.repos.d/epel"

# By default EPEL is installed but not enabled. Change this to true for enabling it by default
epel_repo_enabled_by_default: False

Example Playbook

- hosts: all
  vars:
    epel_repo_enabled_by_default: True
  roles:
     - { role: epel }

License

GPL-3.0

Author Information

epel role was written by:

About

Install EPEL repository on a RHEL/CentOS host

Install
ansible-galaxy install adfinis-sygroup.epel
GitHub repository
License
gpl-3.0
Downloads
3.5k
Owner
Adfinis SyGroup was rebranded to Adfinis, follow the link below: