mirror of
https://github.com/ansible/awx.git
synced 2026-03-11 14:39:30 -02:30
Scan jobs have been removed, clean up old refs
see https://github.com/ansible/awx/issues/5603
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -63,7 +63,6 @@ class Resources(object):
|
||||
_inventory_related_root_groups = r'inventories/\d+/root_groups/'
|
||||
_inventory_related_script = r'inventories/\d+/script/'
|
||||
_inventory_related_update_inventory_sources = r'inventories/\d+/update_inventory_sources/'
|
||||
_inventory_scan_job_templates = r'inventories/\d+/scan_job_templates/'
|
||||
_inventory_script = r'inventory_scripts/\d+/'
|
||||
_inventory_script_copy = r'inventory_scripts/\d+/copy/'
|
||||
_inventory_scripts = 'inventory_scripts/'
|
||||
|
||||
Reference in New Issue
Block a user