You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
openhpc_rebuild_partition: # not a role var - could actually add more indirection here for things we're expecting to be modified, e.g. groups and maxtime
@@ -29,7 +29,7 @@ openhpc_rebuild_partition: # not a role var - could actually add more indirectio
29
29
OverSubscribe: EXCLUSIVE
30
30
openhpc_nodegroups: "{{ cluster_compute_groups | map('community.general.dict_kv', 'name') }}"# create nodegroup for each compute group
31
31
openhpc_user_partitions: "{{ openhpc_nodegroups }}"# create partition for each nodegroup (actually role default) - this is what we'd expect to be changed
32
-
openhpc_partitions: "{{ openhpc_user_partitions + [openhpc_rebuild_partition] if groups['rebuild'] | length > 0 else [] }}"# auto-create rebuild partition if reqd.
32
+
openhpc_partitions: "{{ openhpc_user_partitions + ([openhpc_rebuild_partition] if groups['rebuild'] | length > 0 else []) }}"# auto-create rebuild partition if reqd.
0 commit comments