Scan jobs have been removed, clean up old refs

see https://github.com/ansible/awx/issues/5603
This commit is contained in:
Elijah DeLee
2020-01-21 12:11:53 -05:00
parent 1ce197041f
commit 1e796076f5
5 changed files with 2 additions and 47 deletions

View File

@@ -131,8 +131,6 @@ class JobTemplate(
inventory=Inventory,
project=None,
**kwargs):
if not project and job_type != 'scan':
project = Project
if not inventory and not kwargs.get('ask_inventory_on_launch', False):
inventory = Inventory