Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stone-payments/ansible-epel
Role to install EPEL repository (Extra Packages for Enterprise Linux) for RHEL/CentOS.
https://github.com/stone-payments/ansible-epel
ansible epel evolucaoinfra
Last synced: 3 days ago
JSON representation
Role to install EPEL repository (Extra Packages for Enterprise Linux) for RHEL/CentOS.
- Host: GitHub
- URL: https://github.com/stone-payments/ansible-epel
- Owner: stone-payments
- License: mit
- Created: 2017-06-30T14:28:09.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-13T13:47:34.000Z (11 months ago)
- Last Synced: 2024-04-16T00:08:55.112Z (7 months ago)
- Topics: ansible, epel, evolucaoinfra
- Homepage:
- Size: 40 KB
- Stars: 3
- Watchers: 434
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EPEL Repository
Installs the [EPEL repository](https://fedoraproject.org/wiki/EPEL) (Extra Packages for Enterprise Linux) for RHEL/CentOS.
## Role Variables
Available variables are listed below, along with default values (see `defaults/main.yml`):
```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](https://molecule.readthedocs.io/en/latest/index.html) 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