6eb5515b00
We would like to remove the --*-scale options from the cli so we need to be able to configure the Overcloud<role>Count options instead. This change switches from using topology to topology_map to express the topology configuration. Change-Id: Ifff664d8f75bd29fa764ef0cdf780627f648e689 Depends-On: https://review.openstack.org/#/c/648562/
27 lines
692 B
YAML
27 lines
692 B
YAML
# Define a single controller node
|
|
overcloud_nodes:
|
|
- name: control_0
|
|
flavor: control
|
|
default_name: overcloud-controller-0
|
|
hostnamemap_override: "{{ hostvars[groups['overcloud'][0]].ansible_hostname }}"
|
|
- name: control_1
|
|
flavor: control
|
|
default_name: overcloud-controllerapi-0
|
|
hostnamemap_override: "{{ hostvars[groups['overcloud'][1]].ansible_hostname }}"
|
|
|
|
node_count: 2
|
|
|
|
deployed_server_overcloud_roles:
|
|
- name: ControllerApi
|
|
hosts: $(sed -n 1,1p /etc/nodepool/sub_nodes_private)
|
|
- name: Controller
|
|
hosts: "$(sed -n 2,2p /etc/nodepool/sub_nodes_private)"
|
|
|
|
topology_map:
|
|
Controller:
|
|
scale: 1
|
|
ControllerApi:
|
|
scale: 1
|
|
Compute:
|
|
scale: 0
|