We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dabb2f commit ea7902aCopy full SHA for ea7902a
templates/slurm.conf.j2
@@ -158,7 +158,7 @@ Epilog=/etc/slurm/slurm.epilog.clean
158
{% set hostlists = (inventory_group_hosts | hostlist_expression) %}{# hosts in inventory group aren't necessarily a single hostlist expression #}
159
{% for hostlist in hostlists %}
160
NodeName={{ hostlist }} {{ '' -}}
161
- Features=nodegroup_{{ nodegroup.name }} {{ '' -}}
+ Features={{ (['nodegroup_' ~ nodegroup.name] + nodegroup.features | default([]) ) | join(',') }} {{ '' -}}
162
State=UNKNOWN {{ '' -}}
163
RealMemory={{ nodegroup.ram_mb | default(ram_mb) }} {{ '' -}}
164
Sockets={{ first_host_hv['ansible_processor_count'] }} {{ '' -}}
0 commit comments