File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
environments/common/inventory Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 63
63
tasks :
64
64
- include_role :
65
65
name : topology
66
- when : appliances_mode == 'configure'
66
+ # Gated on topology group having compute nodes but role also
67
+ # needs to run on control and login nodes
68
+ when : appliances_mode == 'configure' and (groups['topology'] | length) > 0
67
69
- include_role :
68
70
name : stackhpc.openhpc
69
71
tasks_from : " {{ 'runtime.yml' if appliances_mode == 'configure' else 'main.yml' }}"
Original file line number Diff line number Diff line change @@ -24,6 +24,12 @@ openhpc
24
24
[builder]
25
25
# Do not add hosts here manually - used as part of Packer image build pipeline. See packer/README.md.
26
26
27
+ [topology]
28
+ # Compute nodes to be included in the Slurm topology plugin's topology tree
29
+ # Should be set to `compute` if enabled
30
+ # Note that this feature currently assumes all compute nodes are VMs, enabling
31
+ # when the cluster contains baremetal compute nodes may lead to unexpected scheduling behaviour
32
+
27
33
[podman:children]
28
34
# Hosts running containers for below services:
29
35
opensearch
You can’t perform that action at this time.
0 commit comments