Re: [ansible-project] Dynamic inventory cache

2016-06-01 Thread Brian Coca
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

Re: [ansible-project] Dynamic inventory cache

2016-06-01 Thread André Cruz
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. >

Re: [ansible-project] Dynamic inventory cache

2016-05-26 Thread Brian Coca
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: >

Re: [ansible-project] Dynamic inventory cache

2016-05-26 Thread André Cruz
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

Re: [ansible-project] Dynamic inventory cache

2016-05-24 Thread Matt Hite
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

[ansible-project] Dynamic inventory cache

2016-05-24 Thread André Cruz
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