Is it possible to have the roles_data.yaml file generated when running "openstack overcloud deploy"?? On Tue, Sep 4, 2018 at 4:52 PM Alex Schultz <aschultz at redhat.com> wrote: > 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 > > > > __________________________________________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180904/93686f91/attachment-0001.html>