mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 18:21:03 -03:30
Fix overzealous cleanup in awxkit
Introduced this problem with 1e796076f5
This commit is contained in:
@@ -131,6 +131,8 @@ class JobTemplate(
|
|||||||
inventory=Inventory,
|
inventory=Inventory,
|
||||||
project=None,
|
project=None,
|
||||||
**kwargs):
|
**kwargs):
|
||||||
|
if not project:
|
||||||
|
project = Project
|
||||||
if not inventory and not kwargs.get('ask_inventory_on_launch', False):
|
if not inventory and not kwargs.get('ask_inventory_on_launch', False):
|
||||||
inventory = Inventory
|
inventory = Inventory
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user