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
19
+
name: rebuild
20
+
groups: "{{ cluster_compute_groups }}"
21
+
default: NO
22
+
maxtime: 30
23
+
partition_params:
24
+
PriorityJobFactor: 65533
25
+
Hidden: YES
26
+
RootOnly: YES
27
+
DisableRootJobs: NO
28
+
PreemptMode: 'OFF'
29
+
OverSubscribe: EXCLUSIVE
30
+
openhpc_nodegroups: "{{ cluster_compute_groups | map('community.general.dict_kv', 'name') }}"# create nodegroup for each compute group
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.
0 commit comments