@@ -48,30 +48,9 @@ dnf_custom_repos: "{{ stackhpc_dnf_repos[os_release] | default({}) if stackhpc_r
4848# This is done by default for hosts in the overcloud group via a group_vars
4949# file.
5050stackhpc_dnf_repos :
51- " 9 " : " {{ 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_doca_rocky_9 if dnf_install_doca | bool else {}) }}"
5251 " 10 " : " {{ dnf_custom_repos_el10 | combine(dnf_custom_repos_rocky_10) | combine(dnf_custom_repos_elrepo_10 if dnf_install_elrepo_10 | bool else {}) | combine(dnf_custom_repos_doca_rocky_10 if dnf_install_doca | bool else {}) }}"
5352
5453# DOCA repositories
55- dnf_custom_repos_doca_rocky_9 :
56- doca :
57- baseurl : " {{ stackhpc_repo_rhel9_doca_url }}"
58- description : " DOCA Online Repo {{ stackhpc_pulp_rocky_9_doca_version }} - RHEL $releasever"
59- enabled : " {{ dnf_enable_doca | bool | default(false) }}"
60- priority : -1
61- file : doca
62- gpgcheck : no
63- username : " {{ stackhpc_repo_mirror_username | default(omit, true) }}"
64- password : " {{ stackhpc_repo_mirror_password | default(omit, true) }}"
65- doca-modules :
66- baseurl : " {{ stackhpc_repo_rhel9_doca_modules_url }}"
67- description : " OFED Kernel module repository for DOCA {{ stackhpc_pulp_rocky_9_doca_version }} - RHEL $releasever"
68- enabled : " {{ dnf_enable_doca_modules | bool | default(false) }}"
69- priority : -1
70- file : doca
71- gpgcheck : no
72- username : " {{ stackhpc_repo_mirror_username | default(omit, true) }}"
73- password : " {{ stackhpc_repo_mirror_password | default(omit, true) }}"
74-
7554dnf_custom_repos_doca_rocky_10 :
7655 doca :
7756 baseurl : " {{ stackhpc_repo_rhel10_doca_url }}"
@@ -92,27 +71,7 @@ dnf_custom_repos_doca_rocky_10:
9271 username : " {{ stackhpc_repo_mirror_username | default(omit, true) }}"
9372 password : " {{ stackhpc_repo_mirror_password | default(omit, true) }}"
9473
95- # Custom repositories shared between all RHEL 9/10 derivatives.
96- dnf_custom_repos_el9 :
97- epel :
98- baseurl : " {{ stackhpc_repo_epel_9_url }}"
99- description : " Extra Packages for Enterprise Linux $releasever - $basearch"
100- enabled : " {{ dnf_enable_epel | bool }}"
101- file : epel
102- gpgkey : " {{ dnf_epel_9_gpg_key_url }}"
103- gpgcheck : yes
104- username : " {{ stackhpc_repo_mirror_username | default(omit, true) }}"
105- password : " {{ stackhpc_repo_mirror_password | default(omit, true) }}"
106- docker :
107- baseurl : " {{ stackhpc_repo_centos_stream_9_docker_url }}"
108- description : " Package repository for installing docker"
109- enabled : " {{ dnf_enable_docker | bool }}"
110- file : docker
111- gpgkey : " {{ dnf_docker_gpg_key_url }}"
112- gpgcheck : yes
113- username : " {{ stackhpc_repo_mirror_username | default(omit, true) }}"
114- password : " {{ stackhpc_repo_mirror_password | default(omit, true) }}"
115-
74+ # Custom repositories shared between all RHEL 10 derivatives.
11675dnf_custom_repos_el10 :
11776 epel :
11877 baseurl : " {{ stackhpc_repo_epel_10_url }}"
@@ -133,20 +92,7 @@ dnf_custom_repos_el10:
13392 username : " {{ stackhpc_repo_mirror_username | default(omit, true) }}"
13493 password : " {{ stackhpc_repo_mirror_password | default(omit, true) }}"
13594
136- # ELRepo 9/10
137- dnf_custom_repos_elrepo_9 :
138- elrepo :
139- baseurl : " {{ stackhpc_repo_elrepo_9_url }}"
140- description : " ELRepo.org Community Enterprise Linux Repository - el9"
141- enabled : " {{ dnf_enable_elrepo_9 | bool }}"
142- file : elrepo
143- gpgkey :
144- - " {{ dnf_elrepo_gpg_key_url }}"
145- - " {{ dnf_elrepo_gpg_v2_key_url }}"
146- gpgcheck : yes
147- username : " {{ stackhpc_repo_mirror_username | default(omit, true) }}"
148- password : " {{ stackhpc_repo_mirror_password | default(omit, true) }}"
149-
95+ # ELRepo 10
15096dnf_custom_repos_elrepo_10 :
15197 elrepo :
15298 baseurl : " {{ stackhpc_repo_elrepo_10_url }}"
@@ -158,59 +104,7 @@ dnf_custom_repos_elrepo_10:
158104 username : " {{ stackhpc_repo_mirror_username | default(omit, true) }}"
159105 password : " {{ stackhpc_repo_mirror_password | default(omit, true) }}"
160106
161- # Rocky 9/10 specific repositories
162- dnf_custom_repos_rocky_9 :
163- appstream :
164- baseurl : " {{ stackhpc_repo_rocky_9_appstream_url }}"
165- description : " Rocky Linux $releasever - AppStream"
166- file : rocky
167- gpgkey : " {{ dnf_rocky_9_gpg_key_url }}"
168- gpgcheck : yes
169- username : " {{ stackhpc_repo_mirror_username | default(omit, true) }}"
170- password : " {{ stackhpc_repo_mirror_password | default(omit, true) }}"
171- baseos :
172- baseurl : " {{ stackhpc_repo_rocky_9_baseos_url }}"
173- description : " Rocky Linux $releasever - BaseOS"
174- file : rocky
175- gpgkey : " {{ dnf_rocky_9_gpg_key_url }}"
176- gpgcheck : yes
177- username : " {{ stackhpc_repo_mirror_username | default(omit, true) }}"
178- password : " {{ stackhpc_repo_mirror_password | default(omit, true) }}"
179- crb :
180- baseurl : " {{ stackhpc_repo_rocky_9_crb_url }}"
181- description : " Rocky Linux $releasever - CRB"
182- file : rocky
183- gpgkey : " {{ dnf_rocky_9_gpg_key_url }}"
184- gpgcheck : yes
185- username : " {{ stackhpc_repo_mirror_username | default(omit, true) }}"
186- password : " {{ stackhpc_repo_mirror_password | default(omit, true) }}"
187- extras :
188- baseurl : " {{ stackhpc_repo_rocky_9_extras_url }}"
189- description : " Rocky Linux $releasever - Extras"
190- file : rocky-extras
191- gpgkey : " {{ dnf_rocky_9_gpg_key_url }}"
192- gpgcheck : yes
193- username : " {{ stackhpc_repo_mirror_username | default(omit, true) }}"
194- password : " {{ stackhpc_repo_mirror_password | default(omit, true) }}"
195- security :
196- baseurl : " {{ stackhpc_repo_rocky_9_security_url }}"
197- description : " Rocky Linux $releasever - Security"
198- enabled : " {{ dnf_enable_rocky_security | bool }}"
199- file : rocky-security
200- gpgkey : " {{ dnf_rocky_9_gpg_key_url }}"
201- gpgcheck : yes
202- username : " {{ stackhpc_repo_mirror_username | default(omit, true) }}"
203- password : " {{ stackhpc_repo_mirror_password | default(omit, true) }}"
204- security-common :
205- baseurl : " {{ stackhpc_repo_rocky_9_sig_security_common_url }}"
206- description : " Rocky Linux $releasever - SIG Security Common"
207- file : Rocky-SIG-Security-Common
208- gpgkey : " {{ dnf_rocky_9_sig_security_gpg_key_url }}"
209- gpgcheck : yes
210- includepkgs : " openssh*"
211- username : " {{ stackhpc_repo_mirror_username | default(omit, true) }}"
212- password : " {{ stackhpc_repo_mirror_password | default(omit, true) }}"
213-
107+ # Rocky 10 specific repositories
214108dnf_custom_repos_rocky_10 :
215109 appstream :
216110 baseurl : " {{ stackhpc_repo_rocky_10_appstream_url }}"
@@ -259,16 +153,12 @@ dnf_docker_gpg_key_url: "https://download.docker.com/linux/centos/gpg"
259153dnf_elrepo_gpg_key_url : " https://www.elrepo.org/RPM-GPG-KEY-elrepo.org"
260154dnf_elrepo_gpg_v2_key_url : " https://www.elrepo.org/RPM-GPG-KEY-v2-elrepo.org"
261155dnf_epel_10_gpg_key_url : " https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-10"
262- dnf_epel_9_gpg_key_url : " https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-9"
263156dnf_rocky_10_gpg_key_url : " https://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-Rocky-10"
264- dnf_rocky_9_gpg_key_url : " https://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-Rocky-9"
265- dnf_rocky_9_sig_security_gpg_key_url : " https://dl.rockylinux.org/pub/sig/9/security/x86_64/security-common/RPM-GPG-KEY-Rocky-SIG-Security"
266157
267158# Whether to enable EPEL repositories. This affects RedHat-based systems only.
268159dnf_enable_epel : " {{ dnf_install_epel | bool }}"
269160
270- # Whether to enable the ELRepo repository. This affects RedHat-based, 9.x release systems only.
271- dnf_enable_elrepo_9 : " {{ dnf_install_elrepo_9 | bool }}"
161+ # Whether to enable the ELRepo repository.
272162dnf_enable_elrepo_10 : " {{ dnf_install_elrepo_10 | bool }}"
273163
274164# Whether to enable DOCA repositories. This affects RedHat-based systems only.
@@ -283,7 +173,6 @@ dnf_enable_doca_modules: "{{ dnf_install_doca | bool }}"
283173
284174# Whether to create a repo file for ELRepo. This affects RedHat-based
285175# systems only.
286- dnf_install_elrepo_9 : false
287176dnf_install_elrepo_10 : false
288177
289178# Whether to enable docker dnf repo in stackhpc_dnf_repos
0 commit comments