ansible / awx

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.
Other
13.98k stars 3.41k forks source link

Add hostname (or dynamic variable) to job name displayed in GUI for callbacks #15535

Open adams-stuff opened 3 weeks ago

adams-stuff commented 3 weeks ago

Please confirm the following

Feature type

New Feature

Feature Summary

It would be useful to have the ability to display either hostname for jobs started as provisioning callbacks. Currently there's no way to tell what host is being provisioned as there's no way of setting a "dynamic" job/template name.

Select the relevant components

Steps to reproduce

Execute provisioning callback job

Current results

job name in GUI is always the same ((except job ID which is not that useful in GUI)

Sugested feature result

display host name in job name

Additional information

No response

pHiney commented 3 days ago

This is needed. In Satellite, we can simply enter a name of a server and get results image

In AAP, the same search yields nothing image

To search for a host, you will want us to select Limit and type in the name image Wait what. It doesn't work So now I have to type more, I'm in IT, why should I need to do that. image

Searching for the Provisioning jobs, yields image Which one has the one I'm after - maybe the failed one, maybe not. I have to open them all.

But simply having the host name on the provisioning Jobs would allow us to see how it went, more easily.

Thanks P

pHiney commented 3 days ago

Removing the job id would be advantageous too, see it is a field that can be searched for.

pHiney commented 3 days ago

Just another one, you can look at all jobs (for a host) by going to "Hosts" and typing in the server name, then selecting the server name and then clicking on "Jobs".

But no-where near where I was, in the "Jobs" list.

pHiney commented 3 days ago

Perhaps a suggestion on making this work would be to, by default, search Job Name and Job Output.