Skip to content

Commit 717752c

Browse files
sjpbjovial
andauthored
simplify enable_configless logic
Co-authored-by: jovial <will@stackhpc.com>
1 parent 1617c96 commit 717752c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ openhpc_resume_timeout: 300
1212
openhpc_retry_delay: 10
1313
openhpc_job_maxtime: 24:00:00
1414
openhpc_config: "{{ openhpc_extra_config | default({}) }}"
15-
openhpc_slurm_configless: "{{ true if ('enable_configless' in openhpc_config.get('SlurmctldParameters', [])) else false }}"
15+
openhpc_slurm_configless: "{{ 'enable_configless' in openhpc_config.get('SlurmctldParameters', []) }}"
1616

1717
openhpc_state_save_location: /var/spool/slurm
1818

0 commit comments

Comments
 (0)