File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,17 @@ Role Variables
8
8
--------------
9
9
10
10
` openhpc_slurm_service_enabled ` : checks whether ` openhpc_slurm_service ` is enabled
11
+
11
12
` openhpc_slurm_service ` : name of the slurm service e.g. ` slurmd `
13
+
12
14
` openhpc_slurm_control_host ` : ansible host name of the controller e.g ` "{{ groups['cluster_login'] | first }}" `
15
+
13
16
` openhpc_slurm_partitions ` : list of slurm partitions
17
+
14
18
` openhpc_cluster_name ` : name of the cluster
19
+
15
20
` openhpc_packages ` : additional OpenHPC packages to install
21
+
16
22
` openhpc_enable ` :
17
23
* ` control ` : whether to enable control host
18
24
* ` batch ` : whether to enable compute nodes
@@ -36,9 +42,9 @@ To deploy, create a playbook which looks like this:
36
42
runtime: true
37
43
openhpc_slurm_service_enabled: true
38
44
openhpc_slurm_service: slurmd
39
- openhpc_slurm_control_host:
40
- openhpc_slurm_partitions: []
41
- openhpc_cluster_name:
45
+ openhpc_slurm_control_host: "{{ groups['cluster_login'] | first }}"
46
+ openhpc_slurm_partitions: "{{ slurm_compute }}"
47
+ openhpc_cluster_name: openhpc
42
48
openhpc_packages: []
43
49
...
44
50
Original file line number Diff line number Diff line change 1
- --
1
+ ---
2
2
- name : Restart SLURM service
3
3
service :
4
4
name : " {{openhpc_slurm_service}}"
You can’t perform that action at this time.
0 commit comments