File tree Expand file tree Collapse file tree 5 files changed +12
-4
lines changed Expand file tree Collapse file tree 5 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 265
265
name : grafana-dashboards
266
266
267
267
- name : Add support for NVIDIA GPU auto detection to Slurm
268
- hosts : cuda
269
- become : true
268
+ hosts : slurm_recompile
269
+ become : yes
270
270
tasks :
271
271
- name : Recompile slurm
272
272
ansible.builtin.import_role :
Original file line number Diff line number Diff line change @@ -48,7 +48,8 @@ dnf_repos_openhpc_repolist:
48
48
file : OpenHPC
49
49
base_url : " {{ dnf_repos_pulp_content_url }}/{{ appliances_pulp_repos.openhpc_updates[ansible_distribution_major_version] | appliances_repo_to_subpath }}"
50
50
51
- dnf_repos_repolist : " {{ dnf_repos_default_repolist + (dnf_repos_openhpc_repolist if (openhpc_install_type | default('ohpc')) == 'ohpc' else []) }}"
51
+ dnf_repos_extra_repolist : []
52
+ dnf_repos_repolist : " {{ dnf_repos_default_repolist + (dnf_repos_openhpc_repolist if (openhpc_install_type | default('ohpc')) == 'ohpc' else []) + dnf_repos_extra_repolist }}"
52
53
53
54
dnf_repos_epel_baseurl : " {{ dnf_repos_pulp_content_url }}/{{ appliances_pulp_repos.epel[ansible_distribution_major_version] | appliances_repo_to_subpath }}"
54
55
dnf_repos_epel_description : " epel"
Original file line number Diff line number Diff line change 1
1
---
2
2
# proxy_http_proxy:
3
3
proxy_https_proxy : " {{ proxy_http_proxy }}"
4
- proxy_no_proxy_defaults : " {{ ['localhost', '127.0.0.1'] + groups['all'] + hostvars.values() | map(attribute='ansible_host') }}"
4
+ proxy_no_proxy_defaults : " {{ ['localhost', '127.0.0.1', '169.254.169.254' ] + groups['all'] + hostvars.values() | map(attribute='ansible_host') }}"
5
5
proxy_no_proxy_extras : []
6
6
proxy_no_proxy : " {{ (proxy_no_proxy_defaults + proxy_no_proxy_extras) | unique | sort | join(',') }}"
7
7
proxy_dnf : true
Original file line number Diff line number Diff line change @@ -118,6 +118,9 @@ freeipa_client
118
118
[cuda]
119
119
# Hosts to install NVIDIA CUDA on - see ansible/roles/cuda/README.md
120
120
121
+ [slurm_recompile]
122
+ # Hosts to recompile Slurm for - allows supporting Slurm autodetection method 'nvml'
123
+
121
124
[vgpu]
122
125
# Hosts where vGPU/MIG should be configured - see docs/mig.md
123
126
Original file line number Diff line number Diff line change @@ -65,6 +65,10 @@ cluster
65
65
[cuda]
66
66
# Hosts to install NVIDIA CUDA on - see ansible/roles/cuda/README.md
67
67
68
+ [slurm_recompile:children]
69
+ # Hosts to recompile Slurm for - allows supporting Slurm autodetection method 'nvml'
70
+ cuda
71
+
68
72
[eessi:children]
69
73
# Hosts on which EESSI stack should be configured
70
74
openhpc
You can’t perform that action at this time.
0 commit comments