have the same problem.
In the documentation it says that you should use environment variables to configure the output directory of the plugin.
In this case I don’t see the point while using the junit callback from ansible which is not within a playbook. So the environment variables set like so are not working here.
Other callback plugins provide the option to set ini keys for configuration into ansible.cfg like:
I’m trying to use the j unit call back plug in and configuring it with environment variables per the recent documentation, but they don’t seem to be working.
In my case I’m running the ansible playbook from the Jenkins job where I’m setting up the environment variables in the Jenkins file environment section.