Skip to content

Commit

Permalink
Install analysis-icu plugin for OC17+
Browse files Browse the repository at this point in the history
Opencast 17+ needs analysis-icu OpenSearch plugin installed.
  • Loading branch information
wsmirnow committed Dec 17, 2024
1 parent 3ad8104 commit 80e0038
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ This role supports the following,

## Role Variables

- `opencast_version_major`
- Some Opencast versions requires additional OpenSearch plugins. This will be handled by this role giving the Opencast major version.
- `opencast_repository_identifiers`
- List of repository identifiers to temporarily activate for integration
- Will usually be provided by the [elan.opencast_repository](https://github.com/elan-ev/opencast_repository) role
Expand Down
2 changes: 1 addition & 1 deletion molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- name: Converge
hosts: all
vars:
opencast_version_major: 15
opencast_version_major: 17
opencast_repository_enabled_release: true
opencast_opensearch_heap_size: 100m
tasks:
Expand Down
11 changes: 11 additions & 0 deletions tasks/opensearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,14 @@
loop:
- Xms
- Xmx

- name: Install OpenSearch analysis-icu plugin
notify: Restart opensearch
ansible.builtin.command:
argv:
- /usr/share/opensearch/bin/opensearch-plugin
- install
- --silent
- analysis-icu
creates: /usr/share/opensearch/plugins/analysis-icu
when: opencast_version_major | default(16) | int >= 17

0 comments on commit 80e0038

Please sign in to comment.