Skip to content

Commit

Permalink
Option to disable EPEL repo installation
Browse files Browse the repository at this point in the history
Opencast uses some dependencies from EPEL RPM repository. This Ansible Galaxy role installs epel-release package, which defines the EPEL repository. Some RedHat systems use Satellite, in which case defining the EPEL repository should be skipped.
  • Loading branch information
wsmirnow authored and lkiesow committed Jan 9, 2025
1 parent 5c6cf05 commit 937802f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ Role Variables
- If the release repository shall be enabled (default: `false`)
- `opencast_repository_enabled_testing`
- If the testing repository shall be enabled (default: `false`)
- `opencast_repository_enable_epel`
- Opencast uses some dependencies from EPEL RPM repository.
Here you can enable (value: `true`) or disable (value: `false`) installation of the
`epel-release` package (default: `true`). On RedHat installation with Satellite this
property can be handy. On Debian based systems this property do nothing.
- `opencast_repository_identifiers:`
- List of RPM repository identifiers.
- This variable is not actually used in this role but can be used by other roles to temporarily activate the repository.
Expand Down
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
opencast_repository_enabled_testing: false
opencast_repository_enabled_release: false
opencast_repository_enable_epel: true
opencast_repository_identifiers:
- opencast-noarch
- opencast-x86_64
Expand Down
1 change: 1 addition & 0 deletions tasks/rhel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@
- name: Install epel repository
ansible.builtin.package:
name: epel-release
when: opencast_repository_enable_epel | bool

0 comments on commit 937802f

Please sign in to comment.