[lago-devel] Lago Ansible Inventory Script

Eric Helms ehelms at redhat.com
Wed Jun 15 12:41:46 UTC 2016


On Wed, Jun 15, 2016 at 8:20 AM, Barak Korren <bkorren at redhat.com> wrote:

> >>
> >> See [1] for official reference. Instead of writing a static inventory
> >> script of hostnames, IPs and groupings Ansible allows writing a script
> to
> >> be run that produces that information dynamically.
> >>
>
> Ah ok. I failed to realise that was in the Ansible context.
>
> +1 from me as well.
> Could we also assign server roles/Ansible variable from the Lago YAML?
> Would we want to?
>

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?


>
> --
> Barak Korren
> bkorren at redhat.com
> RHEV-CI Team
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/lago-devel/attachments/20160615/144edaa1/attachment-0001.html>


More information about the lago-devel mailing list