mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 03:31:10 -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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user