mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 14:11:24 -03:30
Merge pull request #5733 from kdelee/fix_my_mistake
Fix overzealous cleanup in awxkit Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
commit
46e530ceeb
@ -131,6 +131,8 @@ class JobTemplate(
|
||||
inventory=Inventory,
|
||||
project=None,
|
||||
**kwargs):
|
||||
if not project:
|
||||
project = Project
|
||||
if not inventory and not kwargs.get('ask_inventory_on_launch', False):
|
||||
inventory = Inventory
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user