Hi 

I am looking for a way to get output of ansible tower job. I was looking at 
rest Api v 2 and can see jobs and templates. The aim is to run the job in 
tower and if failed send the output in email as part of master playbook. I 
could not find out how to get output of the job currently running and how 
should I define it in my playbook at fail. I know you can find job output 
if you know job id and you can use tower/api/v2/jobs/job-id. Has anyone 
used this feature and know how can I achieve it? Thanks

Regards,

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/7fae768c-4a83-4164-b690-f3f87ff7ffdf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to