Skip to content

Commit 6f32075

Browse files
hollysilkBharat Kunwar
authored andcommitted
Incorporated review comments and fixed minor bugs
1 parent b65c660 commit 6f32075

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff 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

handlers/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--
1+
---
22
- name: Restart SLURM service
33
service:
44
name: "{{openhpc_slurm_service}}"

0 commit comments

Comments
 (0)