File tree Expand file tree Collapse file tree 5 files changed +11
-4
lines changed Expand file tree Collapse file tree 5 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
- # If set to non-empty string, will override topology.conf file auto-detected from OpenStack project
2
- topology_topology_override : " "
1
+ # Nodes to be included in topology tree, must include all Slurm compute nodes
2
+ topology_topology_nodes : []
3
+
4
+ # If set, will override topology.conf file auto-detected from OpenStack project
5
+ # topology_topology_override:
Original file line number Diff line number Diff line change 1
1
- name : Map instances to hosts
2
2
become : false
3
3
map_hosts :
4
- compute_vms : " {{ groups['compute'] }}"
4
+ compute_vms : " {{ topology_topology_nodes }}"
5
5
register : _topology
6
6
delegate_to : localhost
7
7
run_once : true
Original file line number Diff line number Diff line change 1
1
# topology.conf
2
2
# Switch Configuration
3
- {% if topology_topology_override != '' %}
3
+ {% if topology_topology_override is defined %}
4
4
{{ topology_topology_override }}
5
5
{% else %}
6
6
{% for az in _topology .topology .keys () %}
Original file line number Diff line number Diff line change
1
+ topology_topology_groups : " {{ groups['topology'] }}"
Original file line number Diff line number Diff line change @@ -135,3 +135,6 @@ builder
135
135
[nhc:children]
136
136
# Hosts to configure for node health checks
137
137
compute
138
+
139
+ [topology:children]
140
+ compute
You can’t perform that action at this time.
0 commit comments