in 2.1 ansible supports a yaml inventory file format, this can read json
but the format is not the same as the 'dynamic script' output.
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and
On Thursday, May 26, 2016 at 3:40:58 PM UTC+1, Brian Coca wrote:
>
> You've hit the nail on the head! We do have plans to make a 'inventory
> cache' part of Ansible itself, currently its up to each script and of
> course we have different implementations and some that don't implement any.
>
You've hit the nail on the head! We do have plans to make a 'inventory
cache' part of Ansible itself, currently its up to each script and of
course we have different implementations and some that don't implement any.
On Thu, May 26, 2016 at 10:30 AM, André Cruz wrote:
>
Since ansible already supports caching of facts shouldn't this also be a
job of ansible itself? Otherwise each dynamic inventory plugin will
implement it in a different way or not implement it at all...
On Tuesday, 24 May 2016, Matt Hite wrote:
> I believe it would be up to
I believe it would be up to the dynamic inventory script to implement the
caching functionality.
On Tue, May 24, 2016 at 9:55 AM, André Cruz wrote:
> Hello all.
>
> I'm using the Azure RM dynamic inventory script, which although it works
> fine, is very slow.
>
> Is it
Hello all.
I'm using the Azure RM dynamic inventory script, which although it works
fine, is very slow.
Is it possible to cache its results and reuse them on another invocation?
Can I just dump the output of the script (JSON) and load it?
Thank you and best regards,
André
--
You received