ansible/awx

Scheduled Job prompted extra_vars overwritten by JT extra_vars

Open

#14445 opened on Sep 14, 2023

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Python (13,071 stars) (3,333 forks)batch import
communitygood first issueneeds_investigationtype:bug

Description

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.
  • I am NOT reporting a (potential) security vulnerability. (These should be emailed to security@ansible.com instead.)

Bug Summary

I have a JT with extra_vars set to "Prompt on Launch", and some variable set in there by default. I'm configuring a schedule for that JT, and in "Prompt" I remove said variable from the prompted extra_vars. But when the scheduled Job runs, the variable is set (to the default value).

AWX version

21.1.0

Select the relevant components

  • UI
  • UI (tech preview)
  • API
  • Docs
  • Collection
  • CLI
  • Other

Installation method

kubernetes

Modifications

no

Ansible version

No response

Operating system

No response

Web browser

No response

Steps to reproduce

(see summary)

Expected results

extra_vars should be present as prompted in the schedule

Actual results

extra_vars are overwritten by the JT defaults

Additional information

No response

Contributor guide