Skip to content

Commit 3e3976b

Browse files
authored
Fix slurm.conf jinja templating (#179)
* Fix slurm.conf jinja templating trim_blocks on by default in Ansible so extra newline required at end of template tag * Update slurm.conf.j2
1 parent 9b76a5e commit 3e3976b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/slurm.conf.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
#
1111
ClusterName={{ openhpc_cluster_name }}
1212
SlurmctldHost={{ openhpc_slurm_control_host }}{% if openhpc_slurm_control_host_address is defined %}({{ openhpc_slurm_control_host_address }}){% endif %}
13-
#SlurmctldHost=
14-
#
13+
1514
#DisableRootJobs=NO
1615
#EnforcePartLimits=NO
1716
#EpilogSlurmctld=
@@ -186,4 +185,5 @@ PartitionName={{part.name}} Default={{ part.get('default', 'YES') }} MaxTime={{
186185
NodeName=nonesuch
187186

188187
{% if openhpc_slurm_configless %}SlurmctldParameters=enable_configless{% endif %}
188+
189189
ReturnToService=2

0 commit comments

Comments
 (0)