I am trying to get the stdout from the web interface API (I know it is possible to see the stdout on the web API output on the commercial tower )
The job is fine and went trough with full display , however on the API I only have the message :
Unfortunately this is a side effect of our current container layout and
it's something that we'll be fixing in the coming weeks. The stdout itself
is stored on the awx_task container but you are making requests on the
awx_web container. We'll just need to make sure the stdout is available in
both places. In the meantime you can see the output on the job detail page
and you can also get the event level detail at /api/v2/jobs/623/job_events
Yes I know about the other link you posted , however we need a pure ansi/txt/json/html stdout download as on my sample above , due to fact we want to integrate AWX with the external post from jenkins (via tower-cli ).Our python scrip on Jenkins need to be able to read the full stdout otherwise we cannot know if the job is completed of failed and the job on Jenkins dashboard will never be completed.
I will wait for the fix or will try to de-containerize the AWX and run on the same machine.
tower-cli has code to re-construct stdout from the job_events stdout. This is what we use for the monitor and stdout commands. Since you’re already using it, this might be a shortcut to your objective without waiting on other fixes.
Hi Alan. Thank you , this is probably better idea.
the API in current state can only display 2 formats: api or json.
We wanted that output in html or ansi ( what was possible to display from tower stdout )