The host facts are dictionary objects and will most likely not have exactly the same number of elements within them (unless you have a trivially uniform environment!) so a MySQL backend isn't a particularly useful fit.
Personally (on Red Hat), I prefer to use the jsonfile backend and a 1 day validity, but specifying a directory under /dev/shm to store the files, thereby effectively running it in a ramdisk. This provides a decent performance gain while still allowing the standard Unix file system security to be applied. On Monday, 2 May 2016 13:26:47 UTC+1, Anil Dasmala wrote: > > Hi Guys, > > Can someone guide me on how to store the facts for all hosts in inventory > into a mysql database. > In other words, output data of setup module to mysql. > Appreciate ideas/suggestions. > > --Anil > -- 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/77301a82-bdf9-4b3e-9524-c0fe420394a8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
