Sorry to answer an old thread, but when I search for Ansible JUnit output, this thread comes up.
I hacked up a script that generates JUnit XML output from an Ansible run, see https://gist.github.com/cxbrooks/a6e6ce6013e7324398ea _Christopher On Monday, March 31, 2014 at 12:47:02 PM UTC-7, Serge van Ginderachter wrote: > > > On 19 March 2014 17:55, Mark Phillips <[email protected] <javascript:>> > wrote: > >> Not something I'd ordinarily advocate - XML (eugh) - but I was wondering >> if anybody had done anything with producing run log output as XML? >> >> I'm looking at it so I can plug Ansible testing into a CI solution, in >> this case specifically Bamboo. I can make use of the JUnit processor with >> XML output. >> >> Before I start faffing about actually doing this, I was wondering if >> anybody had done anything similar - even if it's with Jenkins or the likes. >> > > Nothing concretely, but you might want to look at callback_plugins to > interface your xml, I think. > > -- 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/6f552826-8a51-4122-aeb8-08ab48fff97b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
