Skip to content

Commit 23ddc82

Browse files
committed
Fix EPEL not getting installed
1 parent 69e25ac commit 23ddc82

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

defaults/main.yml

+3
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ ohpc_default_extra_repos:
112112
gpgcheck: true
113113
gpgkey: "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-8"
114114

115+
# Concatenate extra repo definitions here
116+
ohpc_extra_repos: "{{ ohpc_default_extra_repos[ansible_distribution_major_version] + openhpc_extra_repos }}"
117+
115118
openhpc_munge_key:
116119
openhpc_login_only_nodes: ''
117120
openhpc_module_system_install: true # only works for install-ohpc.yml/main.yml

tasks/install-ohpc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
- name: Ensure extra repos
1212
ansible.builtin.yum_repository: "{{ item }}" # noqa: args[module]
13-
loop: "{{ openhpc_extra_repos }}"
13+
loop: "{{ ohpc_extra_repos }}" # NB this gets required ones for OpenHPC too
1414
loop_control:
1515
label: "{{ item.name }}"
1616

0 commit comments

Comments
 (0)