<div dir="ltr">What i'd like to dig more is how Ansible and Heat can live together. And what features do Heat offer that are not covered by Ansible as well? Is there still the need to have Heat as the main engine, or could that be replaced by Ansible totally in the future?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 8, 2017 at 12:20 AM, James Slagle <span dir="ltr"><<a href="mailto:james.slagle@gmail.com" target="_blank">james.slagle@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, Jul 7, 2017 at 5:31 PM, David Moreau Simard <<a href="mailto:dms@redhat.com">dms@redhat.com</a>> wrote:<br>
> On Fri, Jul 7, 2017 at 1:50 PM, James Slagle <<a href="mailto:james.slagle@gmail.com">james.slagle@gmail.com</a>> wrote:<br>
>> (0) tripleo-quickstart which follows the common and well accepted<br>
>> approach to bundling a set of Ansible playbooks/roles.<br>
><br>
> I don't want to de-rail the thread but I really want to bring some<br>
> attention to a pattern that tripleo-quickstart has been using across<br>
> it's playbooks and roles.<br>
> I sincerely hope that we can find a better implementation should we<br>
> start developing new things from scratch.<br>
<br>
</span>Yes, just to clarify...by "well accepted" I just meant how the git<br>
repo is organized and how you are expected to interface with those<br>
playbooks and roles as opposed to what those playbooks/roles actually<br>
do.<br>
<span class=""><br>
> I'll sound like a broken record for those that have heard me mention<br>
> this before but for those that haven't, here's a concrete example of<br>
> how things are done today:<br>
> (Sorry for the link overload, making sure the relevant information is available)<br>
><br>
> For an example tripleo-quickstart job, here's the console [1] and it's<br>
> corresponding ARA report [2]:<br>
> - A bash script is created [3][4][5] from a jinja template [6]<br>
> - A task executes the bash script [7][8][9]<br>
<br>
</span>From my limited experience, I believe the intent was that the<br>
playbooks should do what a user is expected to do so that it's as<br>
close to reproducing the user interface of TripleO 1:1.<br>
<br>
For example, we document users running commands from a shell prompt.<br>
Therefore, oooq ought to do the same thing as close as possible.<br>
Obviously there will be gaps, just as there is with tripleo.sh, but I<br>
feel that both tools (<a href="http://tripleo.sh/oooq" rel="noreferrer" target="_blank">tripleo.sh/oooq</a>) were trying to be faithful to<br>
our published docs as mush as possible, and I think there's something<br>
to be commended there.<br>
<br>
Not saying it's right or wong, just that I believe that was the intent.<br>
<br>
An alternative would be custom ansible modules that exposed tasks for<br>
interfacing with our API directly. That would also be valuable, as<br>
that code path is mostly untested now outside of the UI and CLI.<br>
<br>
I think that tripleo-quickstart is a slightly different class of<br>
"thing" from the other current Ansible uses I mentioned, in that it<br>
sits at a layer above everything else. It's meant to automate TripleO<br>
itself vs TripleO automating things. Regardless, we should certainly<br>
consider how it fits into a larger plan.<br>
<span class="im HOEnZb"><br>
--<br>
-- James Slagle<br>
--<br>
<br>
</span><div class="HOEnZb"><div class="h5">______________________________<wbr>______________________________<wbr>______________<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.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><p style="font-weight:bold;margin:0;padding:0;font-size:14px;text-transform:uppercase;margin-bottom:0"><span>Yolanda</span> <span>Robla Mota</span></p>
<p style="font-weight:normal;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>Principal Software Engineer</span><span style="color:rgb(204,204,204)">, <span style="font-weight:normal;color:#aaa;margin:0">RHCE</span></span></p>
<p style="font-weight:normal;margin:0;font-size:10px;color:#999"><a style="color:#0088ce;font-size:10px;margin:0;text-decoration:none;font-family:'overpass',sans-serif" href="https://www.redhat.com" target="_blank">Red Hat <span><br><br></span></a></p>
<span style="font-size:10px;margin:0px;color:rgb(153,153,153)"><p style="font-size:10px;margin:0">C/Avellana 213</p></span>
<span><p style="font-size:10px;margin:0;color:#999">Urb Portugal</p></span>
<p style="font-weight:normal;margin:0px 0px 6px;font-size:10px;color:rgb(153,153,153)"><span style="margin:0px;padding:0px">
<a style="color:#0088ce;font-size:10px;margin:0;text-decoration:none;font-family:'overpass',sans-serif" href="mailto:yroblamo@redhat.com" target="_blank">yroblamo@redhat.com</a>   </span>
<span href="tel:+34605641639">M: <a href="http://redhatemailsignature-marketing.itos.redhat.com/" style="color:#0088ce;font-size:11px;margin:0;text-decoration:none;font-family:'overpass',sans-serif" target="_blank">+34605641639</a>     </span>
</p>
<a href="https://red.ht/sig" target="_blank"> <img src="https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-black.png" width="90" height="auto"></a></div></div></div></div></div></div>
</div>