|
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_8: "{{ dnf_custom_repos_el8 | combine(lookup('vars', 'dnf_custom_repos_' ~ ansible_facts.distribution | lower )) }}" |
51 |
| -stackhpc_dnf_repos_9: "{{ dnf_custom_repos_el9 | combine(dnf_custom_repos_rocky_9) }}" |
52 |
| - |
53 |
| -stackhpc_dnf_repos: "{{ stackhpc_dnf_repos_9 if os_release == '9' else stackhpc_dnf_repos_8 }}" |
54 |
| - |
55 |
| -# Custom repositories shared between all RHEL 8 derivatives. |
56 |
| -dnf_custom_repos_el8: |
57 |
| - epel: |
58 |
| - baseurl: "{{ stackhpc_repo_epel_url }}" |
59 |
| - description: "Extra Packages for Enterprise Linux $releasever - $basearch" |
60 |
| - enabled: "{{ dnf_enable_epel | bool }}" |
61 |
| - file: epel |
62 |
| - gpgkey: "{{ dnf_epel_8_gpg_key_url }}" |
63 |
| - gpgcheck: yes |
64 |
| - epel-modular: |
65 |
| - baseurl: "{{ stackhpc_repo_epel_modular_url }}" |
66 |
| - description: "Extra Packages for Enterprise Linux Modular $releasever - $basearch" |
67 |
| - enabled: "{{ dnf_enable_epel | bool }}" |
68 |
| - file: epel-modular |
69 |
| - gpgkey: "{{ dnf_epel_8_gpg_key_url }}" |
70 |
| - gpgcheck: yes |
71 |
| - docker: |
72 |
| - baseurl: "{{ stackhpc_repo_docker_url }}" |
73 |
| - description: "Package repository for installing docker" |
74 |
| - enabled: "{{ dnf_enable_docker | bool }}" |
75 |
| - file: docker |
76 |
| - gpgkey: "{{ dnf_docker_gpg_key_url }}" |
77 |
| - gpgcheck: yes |
78 |
| - |
79 |
| -# CentOS Stream 8 specific repositories |
80 |
| -dnf_custom_repos_centos: |
81 |
| - appstream: |
82 |
| - baseurl: "{{ stackhpc_repo_centos_stream_appstream_url }}" |
83 |
| - description: "CentOS Stream $releasever - AppStream" |
84 |
| - file: CentOS-Stream-AppStream |
85 |
| - gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial |
86 |
| - gpgcheck: yes |
87 |
| - baseos: |
88 |
| - baseurl: "{{ stackhpc_repo_centos_stream_baseos_url }}" |
89 |
| - description: "CentOS Stream $releasever - BaseOS" |
90 |
| - file: CentOS-Stream-BaseOS |
91 |
| - gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial |
92 |
| - gpgcheck: yes |
93 |
| - extras: |
94 |
| - baseurl: "{{ stackhpc_repo_centos_stream_extras_url }}" |
95 |
| - description: "CentOS Stream $releasever - Extras" |
96 |
| - file: CentOS-Stream-Extras |
97 |
| - gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial |
98 |
| - gpgcheck: yes |
99 |
| - |
100 |
| -# Rocky 8 specific repositories |
101 |
| -dnf_custom_repos_rocky: |
102 |
| - appstream: |
103 |
| - baseurl: "{{ stackhpc_repo_rocky_appstream_url }}" |
104 |
| - description: "Rocky Linux $releasever - AppStream" |
105 |
| - file: Rocky-AppStream |
106 |
| - gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial |
107 |
| - gpgcheck: yes |
108 |
| - baseos: |
109 |
| - baseurl: "{{ stackhpc_repo_rocky_baseos_url }}" |
110 |
| - description: "Rocky Linux $releasever - BaseOS" |
111 |
| - file: Rocky-BaseOS |
112 |
| - gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial |
113 |
| - gpgcheck: yes |
114 |
| - extras: |
115 |
| - baseurl: "{{ stackhpc_repo_rocky_extras_url }}" |
116 |
| - description: "Rocky Linux $releasever - Extras" |
117 |
| - file: Rocky-Extras |
118 |
| - gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial |
119 |
| - gpgcheck: yes |
| 50 | +stackhpc_dnf_repos: "{{ dnf_custom_repos_el9 | combine(dnf_custom_repos_rocky_9) }}" |
120 | 51 |
|
121 | 52 | # Custom repositories shared between all RHEL 9 derivatives.
|
122 | 53 | dnf_custom_repos_el9:
|
@@ -166,7 +97,6 @@ dnf_custom_repos_rocky_9:
|
166 | 97 | dnf_enable_epel: "{{ dnf_install_epel | bool }}"
|
167 | 98 |
|
168 | 99 | # URL of EPEL GPG keys.
|
169 |
| -dnf_epel_8_gpg_key_url: "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-8" |
170 | 100 | dnf_epel_9_gpg_key_url: "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-9"
|
171 | 101 |
|
172 | 102 | rocky_9_gpg_key: "https://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-Rocky-9"
|
|
0 commit comments