|
1 | 1 | ---
|
| 2 | +openhpc_version: "{{ '1.3' if ansible_distribution_major_version == '7' else '2' }}" |
2 | 3 | openhpc_slurm_service_enabled: true
|
3 | 4 | openhpc_slurm_service_started: "{{ openhpc_slurm_service_enabled }}"
|
4 | 5 | openhpc_slurm_service:
|
@@ -48,9 +49,57 @@ openhpc_enable:
|
48 | 49 | ohpc_slurm_services:
|
49 | 50 | control: slurmctld
|
50 | 51 | batch: slurmd
|
51 |
| -ohpc_release_repos: |
52 |
| - "7": "https://github.com/openhpc/ohpc/releases/download/v1.3.GA/ohpc-release-1.3-1.el7.x86_64.rpm" # ohpc v1.3 for Centos 7 |
53 |
| - "8": "http://repos.openhpc.community/OpenHPC/2/EL_8/x86_64/ohpc-release-2-1.el8.x86_64.rpm" # ohpc v2 for Rocky 8 |
| 52 | + |
| 53 | +# Repository configuration |
| 54 | +openhpc_extra_repos: [] |
| 55 | + |
| 56 | +ohpc_openhpc_repos: |
| 57 | + "7": |
| 58 | + - name: OpenHPC |
| 59 | + file: OpenHPC.repo |
| 60 | + description: "OpenHPC-1.3 - Base" |
| 61 | + baseurl: "http://build.openhpc.community/OpenHPC:/1.3/CentOS_7" |
| 62 | + gpgcheck: true |
| 63 | + gpgkey: https://raw.githubusercontent.com/openhpc/ohpc/v1.3.5.GA/components/admin/ohpc-release/SOURCES/RPM-GPG-KEY-OpenHPC-1 |
| 64 | + - name: OpenHPC-updates |
| 65 | + file: OpenHPC.repo |
| 66 | + description: "OpenHPC-1.3 - Updates" |
| 67 | + baseurl: "http://build.openhpc.community/OpenHPC:/1.3/updates/CentOS_7" |
| 68 | + gpgcheck: true |
| 69 | + gpgkey: https://raw.githubusercontent.com/openhpc/ohpc/v1.3.5.GA/components/admin/ohpc-release/SOURCES/RPM-GPG-KEY-OpenHPC-1 |
| 70 | + "8": |
| 71 | + - name: OpenHPC |
| 72 | + file: OpenHPC.repo |
| 73 | + description: OpenHPC-2 - Base |
| 74 | + baseurl: "http://repos.openhpc.community/OpenHPC/2/CentOS_8" |
| 75 | + gpgcheck: true |
| 76 | + gpgkey: https://raw.githubusercontent.com/openhpc/ohpc/v2.6.1.GA/components/admin/ohpc-release/SOURCES/RPM-GPG-KEY-OpenHPC-2 |
| 77 | + - name: OpenHPC-updates |
| 78 | + file: OpenHPC.repo |
| 79 | + description: OpenHPC-2 - Updates |
| 80 | + baseurl: "http://repos.openhpc.community/OpenHPC/2/updates/CentOS_8" |
| 81 | + gpgcheck: true |
| 82 | + gpgkey: https://raw.githubusercontent.com/openhpc/ohpc/v2.6.1.GA/components/admin/ohpc-release/SOURCES/RPM-GPG-KEY-OpenHPC-2 |
| 83 | + |
| 84 | +ohpc_default_extra_repos: |
| 85 | + "7": |
| 86 | + - name: epel |
| 87 | + file: epel.repo |
| 88 | + description: "Extra Packages for Enterprise Linux 7 - $basearch" |
| 89 | + metalink: "https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch&infra=$infra&content=$contentdir" |
| 90 | + gpgcheck: true |
| 91 | + gpgkey: "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7" |
| 92 | + "8": |
| 93 | + - name: epel |
| 94 | + file: epel.repo |
| 95 | + description: "Extra Packages for Enterprise Linux 8 - $basearch" |
| 96 | + metalink: "https://mirrors.fedoraproject.org/metalink?repo=epel-8&arch=$basearch&infra=$infra&content=$contentdir" |
| 97 | + gpgcheck: true |
| 98 | + gpgkey: "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-8" |
| 99 | + |
| 100 | +# Concatenate all repo definitions here |
| 101 | +ohpc_repos: "{{ ohpc_openhpc_repos[ansible_distribution_major_version] + ohpc_default_extra_repos[ansible_distribution_major_version] + openhpc_extra_repos }}" |
| 102 | + |
54 | 103 | openhpc_munge_key:
|
55 | 104 | openhpc_login_only_nodes: ''
|
56 | 105 | openhpc_module_system_install: true
|
|
0 commit comments