File tree Expand file tree Collapse file tree 5 files changed +41
-4
lines changed
common/inventory/group_vars/all Expand file tree Collapse file tree 5 files changed +41
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ dnf_repos_filenames:
1717dnf_repos_version_filenames : " {{ dnf_repos_filenames[ansible_distribution_major_version] }}"
1818
1919# epel installed separately
20- dnf_repos_repolist :
20+ dnf_repos_default_repolist :
2121- file : " {{ dnf_repos_version_filenames.baseos }}"
2222 name : baseos
2323 base_url : " {{ dnf_repos_pulp_content_url }}/{{ appliances_pulp_repos.baseos[ansible_distribution_version] | appliances_repo_to_subpath }}"
@@ -34,5 +34,15 @@ dnf_repos_repolist:
3434 name : Ceph
3535 base_url : " {{ dnf_repos_pulp_content_url }}/{{ appliances_pulp_repos.ceph[ansible_distribution_major_version] | appliances_repo_to_subpath }}"
3636
37+ dnf_repos_openhpc_repolist :
38+ - name : OpenHPC
39+ file : OpenHPC
40+ base_url : " {{ dnf_repos_pulp_content_url }}/{{ appliances_pulp_repos.openhpc_base[ansible_distribution_major_version] | appliances_repo_to_subpath }}"
41+ - name : OpenHPC-updates
42+ file : OpenHPC
43+ base_url : " {{ dnf_repos_pulp_content_url }}/{{ appliances_pulp_repos.openhpc_updates[ansible_distribution_major_version] | appliances_repo_to_subpath }}"
44+
45+ dnf_repos_repolist : " {{ dnf_repos_default_repolist + (dnf_repos_openhpc_repolist if (openhpc_install_type | default('ohpc')) == 'ohpc' else []) }}"
46+
3747dnf_repos_epel_baseurl : " {{ dnf_repos_pulp_content_url }}/{{ appliances_pulp_repos.epel[ansible_distribution_major_version] | appliances_repo_to_subpath }}"
3848dnf_repos_epel_description : " epel"
Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ pulp_site_rpm_info:
2222 subpath : " {{ appliances_pulp_repos.extras[pulp_site_target_distribution_version] | appliances_repo_to_subpath }}"
2323- name : " epel-{{ pulp_site_target_distribution_version_major }}-{{ appliances_pulp_repos.epel[pulp_site_target_distribution_version_major].timestamp }}"
2424 subpath : " {{ appliances_pulp_repos.epel[pulp_site_target_distribution_version_major] | appliances_repo_to_subpath }}"
25+ - name : " ohpc-{{ pulp_site_target_distribution_version_major }}-{{ appliances_pulp_repos.openhpc_base[pulp_site_target_distribution_version_major].timestamp }}"
26+ subpath : " {{ appliances_pulp_repos.openhpc_base[pulp_site_target_distribution_version_major] | appliances_repo_to_subpath }}"
27+ - name : " ohpc-updates-{{ pulp_site_target_distribution_version_major }}-{{ appliances_pulp_repos.openhpc_updates[pulp_site_target_distribution_version_major].timestamp }}"
28+ subpath : " {{ appliances_pulp_repos.openhpc_updates[pulp_site_target_distribution_version_major] | appliances_repo_to_subpath }}"
2529- name : " ceph-{{ pulp_site_target_distribution_version_major }}-{{ appliances_pulp_repos.ceph[pulp_site_target_distribution_version_major].timestamp }}"
2630 subpath : " {{ appliances_pulp_repos.ceph[pulp_site_target_distribution_version_major] | appliances_repo_to_subpath }}"
2731
Original file line number Diff line number Diff line change 11{
22 "cluster_image" : {
3- "RL8" : " openhpc-RL8-250106-1559-6782308c " ,
4- "RL9" : " openhpc-RL9-250106-1559-6782308c "
3+ "RL8" : " openhpc-RL8-250106-0916-f8603056 " ,
4+ "RL9" : " openhpc-RL9-250106-0916-f8603056 "
55 }
66}
Original file line number Diff line number Diff line change @@ -151,6 +151,20 @@ appliances_pulp_repos:
151151 ' 8 ' :
152152 timestamp : 20241216T235733
153153 path : epel/8/Everything/x86_64
154+ openhpc_base :
155+ ' 8 ' :
156+ path : OpenHPC/2/EL_8
157+ timestamp : 20241218T154614
158+ ' 9 ' :
159+ path : OpenHPC/3/EL_9
160+ timestamp : 20241218T154614
161+ openhpc_updates :
162+ ' 8 ' :
163+ path : OpenHPC/2/updates/EL_8
164+ timestamp : 20241218T154614
165+ ' 9 ' :
166+ path : OpenHPC/3/updates/EL_9
167+ timestamp : 20241218T154614
154168 ceph :
155169 ' 8 ' :
156170 timestamp : 20231104T015751
Original file line number Diff line number Diff line change @@ -39,6 +39,15 @@ openhpc_config_extra: {}
3939openhpc_config : " {{ openhpc_config_default | combine(openhpc_config_extra, list_merge='append') }}"
4040openhpc_state_save_location : " {{ appliances_state_dir + '/slurmctld' if appliances_state_dir is defined else '/var/spool' }}"
4141
42+ openhpc_install_type : ohpc # 'ohpc' or 'generic', see https://github.com/stackhpc/ansible-slurm-appliance/pull/326
43+
44+ # Empty repo lists from stackhpc.openhpc role defaults, as these repofiles are
45+ # now generated by dnf_repos to allow injecting Ark creds:
46+ ohpc_openhpc_repos :
47+ " 9 " : []
48+ " 8 " : []
49+
50+ # overriding to ensure doesn't overwrite Ark epel repo
4251ohpc_default_extra_repos :
43- " 9 " : [] # overriding to ensure doesn't overwrite ark epel repo
52+ " 9 " : []
4453 " 8 " : []
You can’t perform that action at this time.
0 commit comments