The dynamic inventory scripts are supposed to be used in place of a ini
formatted inventory.

Instead of using `-i /path/to/ini/inventory`  you would use `-i
/path/to/openstack.py`

To make that possible, the `openstack.py` file needs to be marked as
executable.

On Tue, Feb 16, 2016 at 4:05 PM, Govindaraj Venkatesan <
govindaraj....@gmail.com> wrote:

> Hi,
>
> Is there any script that we can use to construct dynamic inventory file
> for Openstack?
>
> I downloaded the script but it gives a JSON output. Does anyone have a
> script to convert JSON to update a inventory file with list of IP address?
> You can download the latest version of the OpenStack inventory script at:
> https://raw.githubusercontent.com/ansible/ansible/devel/contrib/inventory/openstack.py
>
> Thanks,
> Govind
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/b038f3e7-7e79-4348-9464-0271f815459f%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/b038f3e7-7e79-4348-9464-0271f815459f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Matt Martz
@sivel
sivel.net

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAD8N0v9D8-EfpJnC%3D2KNiuhwo75EjROC%2B9QwkDYGotnBVORKKA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to