47
47
# To use these repos, set dnf_custom_repos to the value of stackhpc_dnf_repos.
48
48
# This is done by default for hosts in the overcloud group via a group_vars
49
49
# file.
50
- stackhpc_dnf_repos : " {{ dnf_custom_repos_el9 | combine(dnf_custom_repos_rocky_9) }}"
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 {}) }}"
51
51
52
52
# Custom repositories shared between all RHEL 9 derivatives.
53
53
dnf_custom_repos_el9 :
@@ -66,6 +66,16 @@ dnf_custom_repos_el9:
66
66
gpgkey : " {{ dnf_docker_gpg_key_url }}"
67
67
gpgcheck : yes
68
68
69
+ # ELRepo 9
70
+ dnf_custom_repos_elrepo_9 :
71
+ elrepo :
72
+ baseurl : " {{ stackhpc_repo_elrepo_9_url }}"
73
+ description : " ELRepo.org Community Enterprise Linux Repository - el9"
74
+ enabled : " {{ dnf_enable_elrepo_9 | bool }}"
75
+ file : elrepo
76
+ gpgkey : https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
77
+ gpgcheck : yes
78
+
69
79
# Rocky 9 specific repositories
70
80
dnf_custom_repos_rocky_9 :
71
81
appstream :
@@ -96,6 +106,9 @@ dnf_custom_repos_rocky_9:
96
106
# Whether to enable EPEL repositories. This affects RedHat-based systems only.
97
107
dnf_enable_epel : " {{ dnf_install_epel | bool }}"
98
108
109
+ # Whether to enable the ELRepo repository. This affects RedHat-based, 9.x release systems only.
110
+ dnf_enable_elrepo_9 : " {{ dnf_install_elrepo_9 | bool }}"
111
+
99
112
# URL of EPEL GPG keys.
100
113
dnf_epel_9_gpg_key_url : " https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-9"
101
114
@@ -105,6 +118,10 @@ rocky_9_gpg_key: "https://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-Rocky-9"
105
118
# systems only. Default value is 'false'.
106
119
# dnf_install_epel:
107
120
121
+ # Whether to create a repo file for ELRepo. This affects RedHat-based
122
+ # systems only.
123
+ dnf_install_elrepo_9 : false
124
+
108
125
# Whether to enable docker dnf repo in stackhpc_dnf_repos
109
126
dnf_enable_docker : true
110
127
0 commit comments