Update custom roles doc to generate multiple roles with same properties
Roles can be generated with same role properties of an existing role by with a different name to allow multiple roles genration for same set of services. Depends-On: https://review.openstack.org/#/c/583165 Related-Bug: #1782322 Change-Id: I43eb169708ef28cc39f7ac02daeffceef53058c3
This commit is contained in:
parent
13aaf91dd8
commit
6f7c27e0b4
@ -30,6 +30,18 @@ can execute the following to create a `roles_data.yaml` containing only the
|
||||
|
||||
openstack overcloud roles generate -o ~/roles_data.yaml Controller Compute
|
||||
|
||||
These provided roles can be generated with a different `name` in the
|
||||
`roles_data.yaml` by using a format like, `Compute:ComputeHardwareA`, which
|
||||
will add the role `Compute` to `roles_data.yaml` by modifying the `name` of
|
||||
the role to `ComputeHardwareA`. This helps in associating nodes with a specific
|
||||
hardware group to a role and target parameters specific to this hardware
|
||||
group. The example command below generates a `role_data.yaml` with two Compute
|
||||
roles which can be addressed to specific hardware groups.::
|
||||
|
||||
openstack overcloud roles generate -o ~/roles_data.yaml Controller \
|
||||
Compute:ComputeHardwareA Compute:ComputeHardwareB
|
||||
|
||||
|
||||
Deploying with custom roles
|
||||
---------------------------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user