<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 15, 2016 at 8:20 AM, Barak Korren <span dir="ltr"><<a href="mailto:bkorren@redhat.com" target="_blank">bkorren@redhat.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="">>><br>
>> See [1] for official reference. Instead of writing a static inventory<br>
>> script of hostnames, IPs and groupings Ansible allows writing a script to<br>
>> be run that produces that information dynamically.<br>
>><br>
<br>
</span>Ah ok. I failed to realise that was in the Ansible context.<br>
<br>
+1 from me as well.<br>
Could we also assign server roles/Ansible variable from the Lago YAML?<br>
Would we want to?<br></blockquote><div><br></div><div>You could/can and that would depend on how we write the inventory script. Currently my script will parse out group assignments from the metadata. This would probably be clearer seeing the source code and an example. Would opening an issue with be best? Or a pull request with an example output to then decide where the script should live?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
--<br>
Barak Korren<br>
<a href="mailto:bkorren@redhat.com">bkorren@redhat.com</a><br>
RHEV-CI Team<br>
</div></div></blockquote></div><br></div></div>