Skip to content

Commit

Permalink
Fix EPEL not getting installed
Browse files Browse the repository at this point in the history
  • Loading branch information
sjpb committed Feb 27, 2024
1 parent 69e25ac commit 23ddc82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ ohpc_default_extra_repos:
gpgcheck: true
gpgkey: "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-8"

# Concatenate extra repo definitions here
ohpc_extra_repos: "{{ ohpc_default_extra_repos[ansible_distribution_major_version] + openhpc_extra_repos }}"

openhpc_munge_key:
openhpc_login_only_nodes: ''
openhpc_module_system_install: true # only works for install-ohpc.yml/main.yml
Expand Down
2 changes: 1 addition & 1 deletion tasks/install-ohpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

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

Expand Down

0 comments on commit 23ddc82

Please sign in to comment.