Thanks Danny; this looks promising I'll try it out. On Sunday, June 19, 2016 at 11:02:45 AM UTC-7, Danny Kimsey wrote: > > On Saturday, June 18, 2016 at 3:50:39 PM UTC-5, mat_h wrote: >> >> Is there a facility in Ansible for collecting and capturing/exporting >> failed/fatal results or the entire summary as a variable, or output to a >> file? >> > > In v2.0 there is a stdout_callback configuration option > <http://docs.ansible.com/ansible/intro_configuration.html#stdout-callback>, > you could set it to "json" which will load the corresponding plugin > <https://github.com/ansible/ansible/blob/stable-2.1/lib/ansible/plugins/callback/json.py>. > > Which would generate an a complete break-down of the run in json format. If > you wanted the normal output (called skippy) too, I bet you could > subclass/fork the built-in json module and have it write to a file instead > into your local callback_plugins directory > <http://docs.ansible.com/ansible/developing_plugins.html#callbacks>. > > Hopefully this will give you some guidance on options. > >
-- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.