Skip to content

Commit d2864a3

Browse files
committed
fix regex for in-nodegroup gres name extraction
1 parent 8753e32 commit d2864a3

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
@@ -57,7 +57,7 @@ ohpc_gres_types: >-
5757
['gpu'] if openhpc_nodegroups | map(attribute='gres_autodetect', default='') | unique | select('eq', 'nvml') else [] +
5858
openhpc_nodegroups |
5959
community.general.json_query('[].gres[].conf') |
60-
map('regex_search', '^(\\w+)')
60+
map('regex_search', '^(\w+)')
6161
) | flatten | reject('eq', '') | sort | unique | join(',')
6262
}}
6363
openhpc_gres_template: gres.conf.j2

0 commit comments

Comments
 (0)