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
88--------------
99
1010` openhpc_slurm_service_enabled ` : checks whether ` openhpc_slurm_service ` is enabled
11+
1112` openhpc_slurm_service ` : name of the slurm service e.g. ` slurmd `
13+
1214` openhpc_slurm_control_host ` : ansible host name of the controller e.g ` "{{ groups['cluster_login'] | first }}" `
15+
1316` openhpc_slurm_partitions ` : list of slurm partitions
17+
1418` openhpc_cluster_name ` : name of the cluster
19+
1520` openhpc_packages ` : additional OpenHPC packages to install
21+
1622` openhpc_enable ` :
1723* ` control ` : whether to enable control host
1824* ` batch ` : whether to enable compute nodes
@@ -36,9 +42,9 @@ To deploy, create a playbook which looks like this:
3642 runtime: true
3743 openhpc_slurm_service_enabled: true
3844 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
4248 openhpc_packages: []
4349 ...
4450
Original file line number Diff line number Diff line change 1- --
1+ ---
22- name : Restart SLURM service
33 service :
44 name : " {{openhpc_slurm_service}}"
You can’t perform that action at this time.
0 commit comments