awx icon indicating copy to clipboard operation
awx copied to clipboard

Allow editing of run variables when relaunching a (failed) job

Open sagarkhushalani opened this issue 1 year ago • 3 comments

Please confirm the following

  • [X] I agree to follow this project's code of conduct.
  • [X] I have checked the current issues for duplicates.
  • [X] I understand that AWX is open source software provided for free and that I might not receive a timely response.

Feature type

Enhancement to Existing Feature

Feature Summary

We have the ability to relaunch jobs on either failed hosts or have it run on all hosts. However, when relaunching a job, we cannot edit the variables that were used to run the job.

It may happen that a job failed because a variable was wrong, or that one of the variables controls output and we need it for better debugging the failure (both have happened for us).

Please add the ability to edit run-time variables when relaunching a job.

Select the relevant components

  • [X] UI
  • [X] API
  • [ ] Docs
  • [ ] Collection
  • [ ] CLI
  • [ ] Other

Steps to reproduce

  1. Run a job
  2. Go to job details page
  3. Click "Relaunch"

Current results

Variables JSON is shown, and is read-only. When clicking "Relaunch", there's no way to update values.

Sugested feature result

Allow updating of variable values to a relaunch modal/page/dialog box.

Additional information

No response

sagarkhushalani avatar Dec 13 '23 13:12 sagarkhushalani