ansible/awx

Notification Template - Parameterized Target URL

Open

#9787 opened on Apr 1, 2021

View on GitHub
 (0 comments) (1 reaction) (0 assignees)Python (13,071 stars) (3,333 forks)batch import
component:apihelp wantedtype:enhancement

Description

ISSUE TYPE
  • Feature Idea
SUMMARY

Trying to use AWX to call back to TeamCity to finish agentless builds. The callback URL must include an AWX extra_var. Would like a way to template the Target URL so it could contain the passed in build number. For example:

http://<teamcity.url>/app/rest/builds/id:<build_id>/log

Would also be great if the basic auth credentials could be templated from extra_vars as well, since TeamCity generates temp credentials on each job run and passes them to the AWX server as extra_vars also.

Contributor guide