Skip to content

linuxhq/ansible-role-elrepo

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ansible-role-elrepo

Build Status Ansible Galaxy License

RHEL/CentOS - ELRepo Project

Requirements

This role requires that you have the epel repository installed.

Role Variables

Available variables are listed below, along with default values:

elrepo_dist: "{{ ansible_distribution_major_version }}"
elrepo_disable_plugin: []
elrepo_disablerepo: []
elrepo_enable_plugin: []
elrepo_enablerepo: []
elrepo_gpg_key: 'https://www.elrepo.org/RPM-GPG-KEY-elrepo.org'
elrepo_kernel: false
elrepo_kernel_version: ml
elrepo_packages: []
elrepo_repository_elrepo: false
elrepo_repository_extras: false
elrepo_repository_kernel: false
elrepo_repository_testing: false
elrepo_repository_url: 'https://www.elrepo.org'
elrepo_rpm: "{{ 'elrepo-release-' + elrepo_version + '.elrepo.noarch.rpm' }}"
elrepo_version: "{{ elrepo_dist + '.el' + elrepo_dist }}"

Dependencies

None

Example Playbook

- hosts: servers
  roles:
    - role: linuxhq.elrepo
      elrepo_disable_plugin:
        - post-transaction-actions
      elrepo_enablerepo:
        - epel
      elrepo_kernel: true
      elrepo_kernel_version: lt
      elrepo_packages:
        - dkms
        - kmod-r8168
        - redhat-lsb-languages
      elrepo_repository_elrepo: true

License

Copyright (C) 2022 Taylor Kimball tkimball@linuxhq.org

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

RHEL/CentOS - ELRepo Project

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages