8000 GitHub - stone-payments/ansible-epel: Role to install EPEL repository (Extra Packages for Enterprise Linux) for RHEL/CentOS.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

stone-payments/ansible-epel

Repository files navigation

EPEL Repository

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):

epel_repo_file: "/etc/yum.repos.d/epel.repo"
epel_repo_url: "https://dl.fedoraproject.org/pub/epel/$releasever/$basearch/"
epel_gpg_file: "/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-{{ ansible_distribution_major_version }}"
epel_gpg_url: "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-{{ ansible_distribution_major_version }}"
epel_gpg_check: "yes"

epel_satellite: false #change to true when you want to get EPEL packages from an internal Satellite mirror
epel_satellite_label: "" #when epel_satellite is true:  add repo with subscription-manager
                         #                       false: remove repo with subscription-manager

Dependencies

None.

Testing

This function implements tests with Molecule together with the ansible and podman modules. Notice that we only support Molecule 2.0 or greater.

Additionally, until this moment we only support role running the molecule default scenario and Each new PR will run this test like de pre-validation tests.

You can install molecule with:

python3 -m pip install "molecule[podman,lint]" "ansible" "podman" "ansible-lint"

After having Molecule setup, you can run the tests with this step:

molecule test

Example Playbook

- hosts: servers
  roles:
    - stone-payments.epel

License

MIT

About

Role to install EPEL repository (Extra Packages for Enterprise Linux) for RHEL/CentOS.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 8

0