tower/job-poll-url¶
AWX / Tower job-status polling endpoint URL used by tower-invoke-curl
URL used by the tower-invoke-curl task to poll the status of a launched
AWX / Tower job. This is intentionally separate from tower/url so the
operator can target a different host, path, or API version for status
polling if needed.
The URL must contain the literal placeholder string JOB_ID (uppercase,
no surrounding braces), which is substituted at runtime with the job ID
captured from the initial launch response (tower/job-id). The bare
JOB_ID form is used instead of {{job_id}} so that the value cannot
collide with the Go template engine if .ParamExpand is ever applied
to this param.
Example:
https://awx.example.com/api/v2/jobs/JOB_ID/
If the URL does not contain JOB_ID, the task exits 1 at pre-flight
with a configuration error.
Authentication for the polling GET reuses the same credentials as the
initial POST: tower/bearer-token if set, otherwise tower/login and
tower/password (HTTP Basic auth).
Required when tower/job-wait-type is simple or exponential.
Objects that Reference tower/job-poll-url¶
- profiles EXAMPLE-tower-job-poll in Tower Integration as part of Params (declared)
- tasks tower-invoke-curl in Tower Integration as part of Templates.[0].Contents (used)
- tasks tower-invoke-curl in Tower Integration as part of Templates.[1].Contents (used)
Objects used by tower/job-poll-url¶
Not used in current content packs