mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 21:37:42 -02: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,
|
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