Thank you so much for your replies. I tried ansible-cmdb earlier. -t txt_table or -t csv is giving limited columns. I'm having difficulty in customizing fact columns that show up, should I edit /usr/lib/ansible-cmdb/ansiblecmdb/data/tpl/csv.tpl or txt_table.tpl for customizing? Sorry not much in to jinja2 templating, but I"ll look at it. Any hints / suggestions will be helpful on how to customize.
On Wednesday, May 4, 2016 at 7:31:30 PM UTC+5:30, Jon Dison wrote: > > Yes, > https://github.com/fboender/ansible-cmdb > Is what I settled upon. > > Going forward we're looking at a process to dump the facts into a database > that has a web fronted, but for now the ansible-cmdb does fine. > > On Wed, May 4, 2016 at 9:47 AM, 'J Hawkesworth' via Ansible Project < > [email protected] <javascript:>> wrote: > >> 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 a topic in the >> Google Groups "Ansible Project" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/ansible-project/4RWcMYB3zU8/unsubscribe >> . >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/65001808-c200-4e12-8025-aaa259f8a00f%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/65001808-c200-4e12-8025-aaa259f8a00f%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a586f18e-201f-41cf-9f40-4d9ae39ae6ce%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
