Skip to content

Commit 2e1d7c9

Browse files
Fix DNF config
1 parent 6ef98b2 commit 2e1d7c9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

etc/kayobe/dnf.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ dnf_custom_repos: "{{ stackhpc_dnf_repos if stackhpc_repos_enabled | bool else [
4747
# To use these repos, set stackhpc_repos_enabled to true.
4848
# This is done by default for hosts in the overcloud group via a group_vars
4949
# file.
50-
stackhpc_dnf_repos: "{{ dnf_custom_repos_el9 | combine(dnf_custom_repos_rocky_9) | combine(dnf_custom_repos_elrepo_9 if dnf_install_elrepo_9 | bool else {}) }}"
50+
stackhpc_dnf_repos: "{{ dnf_custom_repos_el9 | combine(dnf_custom_repos_rocky_9) | combine(dnf_custom_repos_elrepo_9 if dnf_install_elrepo_9 | bool | combine(dnf_custom_repos_ofed if dnf_install_rocky_ofed) | bool else {}) }}"
5151

5252
# OFED repository for Rocky 9
5353
dnf_custom_repos_ofed:
@@ -163,9 +163,13 @@ dnf_enable_docker: true
163163
#URL of docker repo GPG key
164164
dnf_docker_gpg_key_url: "https://download.docker.com/linux/centos/gpg"
165165

166-
# Whether to enable OFED repositories
166+
# Whether to enable OFED repositories. This affects RedHat-based systems only.
167167
dnf_enable_rocky_ofed: false
168168

169+
# Whether to create a repo file for OFED. This affects RedHat-based
170+
# systems only.
171+
dnf_install_rocky_ofed: false
172+
169173
###############################################################################
170174
# DNF Automatic configuration.
171175

0 commit comments

Comments
 (0)