[openstack-dev] [tripleo] using multiple roles

Alex Schultz aschultz at redhat.com
Tue Sep 4 13:51:30 UTC 2018


On Tue, Sep 4, 2018 at 2:31 AM, Samuel Monderer
<smonderer at vasonanetworks.com> wrote:
> Hi,
>
> Due to many different HW in our environment we have multiple roles.
> I would like to place each role definition if a different file.
> Is it possible to refer to all the roles from roles_data.yaml to all the
> different files instead of having a long roles_data.yaml file?
>

So you can have them in different files for general management,
however in order to actually consume them  they need to be in a
roles_data.yaml file for the deployment. We offer a few cli commands
to help with this management.  The 'openstack overcloud roles
generate' command can be used to generate a roles_data.yaml for your
deployment. You can store the individual roles in a folder and use the
'openstack overcloud roles list --roles-path /your/folder' to view the
available roles.  This workflow is described in the roles README[0]

Thanks,
-Alex

[0] http://git.openstack.org/cgit/openstack/tripleo-heat-templates/tree/roles/README.rst

> Regards,
> Samuel
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



More information about the OpenStack-dev mailing list