I’m posting this here because searching for this topic on google always returns the Ansible Tower API reference guide, and that’s not what i’m looking for.
We are using AWX for quite a few projects, one of them being automated infrastructure deployments. I have a few playbooks that we presenting to a different application (Service Now) as an API endpoint in AWX.
Service Now is able to launch this job via the API, and everything is working great, but the issue is how we pass data back to SerivceNow.
The only way we can find to return data back is using the debug module, which seems a bit janky. It does in fact work, but searching pages and pages of job_events seems a bit wasteful.
Any suggestions on how we should actually be controlling how data is sent back?
I realize this is a bit of a ramble so I can clarify if needed.
I'm posting this here because searching for this topic on google always
returns the Ansible Tower API reference guide, and that's not what i'm
looking for.
We are using AWX for quite a few projects, one of them being automated
infrastructure deployments. I have a few playbooks that we presenting to a
different application (Service Now) as an API endpoint in AWX.
Service Now is able to launch this job via the API, and everything is
working great, but the issue is how we pass data back to SerivceNow.
The only way we can find to return data back is using the debug module,
which seems a bit janky. It does in fact work, but searching pages and
pages of job_events seems a bit wasteful.
Just post to whatever API you need to post whatever data.