@@ -47,15 +47,23 @@ 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 {}) | combine(dnf_custom_repos_ofed if dnf_install_rocky_ofed | bool else {}) }}"
51-
52- # OFED repository for Rocky 9
53- dnf_custom_repos_ofed :
54- ofed :
55- baseurl : " {{ stackhpc_repo_rocky_ofed_url }}"
56- description : " Mellanox Technologies doca_ofed {{ stackhpc_pulp_doca_ofed_version }} Rocky 9.{{ stackhpc_pulp_repo_rocky_9_minor_version }}"
57- enabled : " {{ dnf_enable_rocky_ofed | bool }}"
58- file : ofed
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 {}) | combine(dnf_custom_repos_ofed if dnf_install_doca | bool else {}) }}"
51+
52+ # DOCA repositories
53+ dnf_custom_repos_doca :
54+ doca :
55+ baseurl : " {{ stackhpc_repo_rocky_doca_url }}"
56+ description : " DOCA Online Repo {{ stackhpc_pulp_doca_version }}"
57+ enabled : " {{ dnf_enable_doca | bool }}"
58+ file : doca
59+ gpgcheck : no
60+ username : " {{ stackhpc_repo_mirror_username | default(omit, true) }}"
61+ password : " {{ stackhpc_repo_mirror_password | default(omit, true) }}"
62+ doca-modules :
63+ baseurl : " {{ stackhpc_repo_rocky_doca_modules_url }}"
64+ description : " DOCA Modules Repo {{ stackhpc_pulp_doca_version }}"
65+ enabled : " {{ dnf_enable_doca | bool and dnf_enable_doca_modules | bool }}"
66+ file : doca-modules
5967 gpgcheck : no
6068 username : " {{ stackhpc_repo_mirror_username | default(omit, true) }}"
6169 password : " {{ stackhpc_repo_mirror_password | default(omit, true) }}"
@@ -143,8 +151,11 @@ dnf_enable_epel: "{{ dnf_install_epel | bool }}"
143151# Whether to enable the ELRepo repository. This affects RedHat-based, 9.x release systems only.
144152dnf_enable_elrepo_9 : " {{ dnf_install_elrepo_9 | bool }}"
145153
146- # Whether to enable OFED repositories. This affects RedHat-based systems only.
147- dnf_enable_rocky_ofed : " {{ dnf_install_rocky_ofed | bool }}"
154+ # Whether to enable DOCA repositories. This affects RedHat-based systems only.
155+ dnf_enable_doca : " {{ dnf_install_doca | bool }}"
156+
157+ # Whether to enable the DOCA kernel module repository. This affects RedHat-based systems only.
158+ dnf_enable_doca_modules : " {{ dnf_install_doca_modules | bool }}"
148159
149160# URL of EPEL GPG keys.
150161dnf_epel_9_gpg_key_url : " https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-9"
@@ -166,9 +177,9 @@ dnf_enable_docker: true
166177# URL of docker repo GPG key
167178dnf_docker_gpg_key_url : " https://download.docker.com/linux/centos/gpg"
168179
169- # Whether to create a repo file for OFED . This affects RedHat-based
180+ # Whether to create a repo file for DOCA . This affects RedHat-based
170181# systems only.
171- dnf_install_rocky_ofed : false
182+ dnf_install_doca : false
172183
173184# ##############################################################################
174185# DNF Automatic configuration.
0 commit comments