This project might be a help for you:

https://github.com/fboender/ansible-cmdb

It generates a static site but you can specify your own templates (jinja2 
so already familiar) so you could use that to generate different output.

Hope this helps,

jon

On Wednesday, May 4, 2016 at 12:56:01 PM UTC+1, Anil Dasmala wrote:
>
> Hi Jon,
>
> I'm also trying to achieve the same, can you please share if you have made 
> any progress with documenting facts to csv.
>
> On Wednesday, November 4, 2015 at 1:07:39 AM UTC+5:30, Jon Dison wrote:
>>
>> I'm wondering if anyone has any existing playbooks and/or scripts to go 
>> through an environment and document the findings.
>>
>> Basically a way to transform the results from the setup module into a 
>> useful CSV would be a good start, but also adding on other facets like 
>> lists of patches to be applied, etc would be very useful.
>>
>> I've made use of the setup module to create a directory of hosts files 
>> showing the results in YAML, but transforming that into a useful report 
>> would take some work and I figure someone out there may have already done 
>> it.
>>
>

-- 
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/65001808-c200-4e12-8025-aaa259f8a00f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to