Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 40 additions & 13 deletions etc/kayobe/dnf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,27 @@
# file: myrepo
# gpgkey: http://gpgkey
# gpgcheck: yes
dnf_custom_repos:
dnf_custom_repos: "{{ dnf_custom_repos_el8 | combine(lookup('vars', 'dnf_custom_repos_' ~ ansible_facts.distribution | lower )) }}"

# Custom repositories shared between all RHEL derivatives.
dnf_custom_repos_el8:
epel:
baseurl: "{{ stackhpc_repo_epel_url }}"
description: "Extra Packages for Enterprise Linux $releasever - $basearch"
enabled: "{{ dnf_enable_epel | bool }}"
file: epel
gpgkey: "{{ dnf_epel_gpg_key_url }}"
gpgcheck: yes
epel-modular:
baseurl: "{{ stackhpc_repo_epel_modular_url }}"
description: "Extra Packages for Enterprise Linux Modular $releasever - $basearch"
enabled: "{{ dnf_enable_epel | bool }}"
file: epel-modular
gpgkey: "{{ dnf_epel_gpg_key_url }}"
gpgcheck: yes

# CentOS Stream 8 specific repositories
dnf_custom_repos_centos:
appstream:
baseurl: "{{ stackhpc_repo_centos_stream_appstream_url }}"
description: "CentOS Stream $releasever - AppStream"
Expand All @@ -60,19 +80,26 @@ dnf_custom_repos:
file: CentOS-Stream-Extras
gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
gpgcheck: yes
epel:
baseurl: "{{ stackhpc_repo_epel_url }}"
description: "Extra Packages for Enterprise Linux $releasever - $basearch"
enabled: "{{ dnf_enable_epel | bool }}"
file: epel
gpgkey: "{{ dnf_epel_gpg_key_url }}"

# Rocky 8 specific repositories
dnf_custom_repos_rocky:
appstream:
baseurl: "{{ stackhpc_repo_rocky_appstream_url }}"
description: "Rocky Linux $releasever - AppStream"
file: Rocky-AppStream
gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial
gpgcheck: yes
epel-modular:
baseurl: "{{ stackhpc_repo_epel_modular_url }}"
description: "Extra Packages for Enterprise Linux Modular $releasever - $basearch"
enabled: "{{ dnf_enable_epel | bool }}"
file: epel-modular
gpgkey: "{{ dnf_epel_gpg_key_url }}"
baseos:
baseurl: "{{ stackhpc_repo_rocky_baseos_url }}"
description: "Rocky Linux $releasever - BaseOS"
file: Rocky-BaseOS
gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial
gpgcheck: yes
extras:
baseurl: "{{ stackhpc_repo_rocky_extras_url }}"
description: "Rocky Linux $releasever - Extras"
file: Rocky-Extras
gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial
gpgcheck: yes

# Whether to enable EPEL repositories. This affects RedHat-based systems only.
Expand Down
12 changes: 12 additions & 0 deletions etc/kayobe/stackhpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,18 @@ stackhpc_repo_rabbitmq_server_version: "{{ stackhpc_repo_distribution }}"
stackhpc_repo_treasuredata_4_url: "{{ stackhpc_repo_mirror_url }}/pulp/content/treasuredata/4/redhat/8/x86_64/{{ stackhpc_repo_treasuredata_4_version }}"
stackhpc_repo_treasuredata_4_version: "{{ stackhpc_repo_distribution }}"

# Rocky 8 BaseOS
stackhpc_repo_rocky_baseos_url: "{{ stackhpc_repo_mirror_url }}/pulp/content/rocky/8/BaseOS/x86_64/os/{{ stackhpc_repo_rocky_baseos_version }}"
stackhpc_repo_rocky_baseos_version: "{{ stackhpc_repo_distribution }}"

# Rocky 8 AppStream
stackhpc_repo_rocky_appstream_url: "{{ stackhpc_repo_mirror_url }}/pulp/content/rocky/8/AppStream/x86_64/os/{{ stackhpc_repo_rocky_appstream_version }}"
stackhpc_repo_rocky_appstream_version: "{{ stackhpc_repo_distribution }}"

# Rocky 8 extras
stackhpc_repo_rocky_extras_url: "{{ stackhpc_repo_mirror_url }}/pulp/content/rocky/8/extras/x86_64/os/{{ stackhpc_repo_rocky_extras_version }}"
stackhpc_repo_rocky_extras_version: "{{ stackhpc_repo_distribution }}"

###############################################################################
# Sources

Expand Down