File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ AutoDetect=off
66{% for gres in group .gres %}
77{% set gres_name , gres_type , _ = gres .conf .split (':' ) %}
88{% set group_name = group .cluster_name |default (openhpc_cluster_name ) ~ '_' ~ group .name %}
9+ {% set file = gres .file | default ('' ) %}
10+ {% set autodetect = gres .autodetect | default ('' ) %}
911{% set inventory_group_hosts = groups .get (group_name , []) %}
1012{% for hostlist in (inventory_group_hosts | hostlist_expression ) %}
11- set file = gres.file | default('')
12- set autodetect = gres.autodetect | default('')
1313NodeName={{ hostlist }} Name={{ gres_name }} Type={{ gres_type }}{% if gres .file is truthy %} File={{ gres.file }}{% endif %}{% if gres .autodetect is truthy %} AutoDetect={{ gres.autodetect }}{% endif %}
1414
1515{% endfor %}
You can’t perform that action at this time.
0 commit comments