#16643·awx

Schedule silently uses job template's default inventory after removing ask_inventory_on_launch

Author: G1gaMaxCreated Sep 7, 2026Updated Sep 7, 2026
Labelstype:bugneeds_triagecommunity

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 [email protected] instead.)

Bug Summary

Summary

When a Job Template has ask_inventory_on_launch enabled, Schedules created for it store their own inventory override (inventory field in the schedule's launch params). If ask_inventory_on_launch is later disabled on the Job Template, existing Schedules stop being able to apply that stored override — the job runs against whatever inventory is currently set on the Job Template itself, silently ignoring the inventory the schedule was originally configured with.

AWX version

24.6.1

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

Chrome

Steps to reproduce

Steps to reproduce

Create a Job Template with ask_inventory_on_launch: true, no default inventory set. Create a Schedule for it, selecting Inventory A as the launch-time override. Disable ask_inventory_on_launch on the Job Template. Let the Schedule fire (or launch it manually via the schedule).

Expected results

Expected behavior

Either:

AWX prevents disabling ask_inventory_on_launch while schedules still hold an inventory override, or warns that it will be dropped, or The schedule keeps applying its saved inventory regardless of the prompt setting, or At minimum, the job clearly logs/fails noting the override was discarded, instead of silently running with the Job Template's current (possibly unset/wrong) inventory.

Actual results

Actual behavior

The job runs using the Job Template's inventory field with no warning that the schedule's stored inventory override was discarded.

Additional information

No response