<div dir="ltr">Is it possible to have the roles_data.yaml file generated when running "openstack overcloud deploy"??</div><br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 4, 2018 at 4:52 PM Alex Schultz <<a href="mailto:aschultz@redhat.com">aschultz@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Sep 4, 2018 at 2:31 AM, Samuel Monderer<br>
<<a href="mailto:smonderer@vasonanetworks.com" target="_blank">smonderer@vasonanetworks.com</a>> wrote:<br>
> Hi,<br>
><br>
> Due to many different HW in our environment we have multiple roles.<br>
> I would like to place each role definition if a different file.<br>
> Is it possible to refer to all the roles from roles_data.yaml to all the<br>
> different files instead of having a long roles_data.yaml file?<br>
><br>
<br>
So you can have them in different files for general management,<br>
however in order to actually consume them  they need to be in a<br>
roles_data.yaml file for the deployment. We offer a few cli commands<br>
to help with this management.  The 'openstack overcloud roles<br>
generate' command can be used to generate a roles_data.yaml for your<br>
deployment. You can store the individual roles in a folder and use the<br>
'openstack overcloud roles list --roles-path /your/folder' to view the<br>
available roles.  This workflow is described in the roles README[0]<br>
<br>
Thanks,<br>
-Alex<br>
<br>
[0] <a href="http://git.openstack.org/cgit/openstack/tripleo-heat-templates/tree/roles/README.rst" rel="noreferrer" target="_blank">http://git.openstack.org/cgit/openstack/tripleo-heat-templates/tree/roles/README.rst</a><br>
<br>
> Regards,<br>
> Samuel<br>
><br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div>