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
6
6
{% for gres in group .gres %}
7
7
{% set gres_name , gres_type , _ = gres .conf .split (':' ) %}
8
8
{% set group_name = group .cluster_name |default (openhpc_cluster_name ) ~ '_' ~ group .name %}
9
+ {% set file = gres .file | default ('' ) %}
10
+ {% set autodetect = gres .autodetect | default ('' ) %}
9
11
{% set inventory_group_hosts = groups .get (group_name , []) %}
10
12
{% for hostlist in (inventory_group_hosts | hostlist_expression ) %}
11
- set file = gres.file | default('')
12
- set autodetect = gres.autodetect | default('')
13
13
NodeName={{ 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 %}
14
14
15
15
{% endfor %}
You can’t perform that action at this time.
0 commit comments