mirror of
https://github.com/ansible/awx.git
synced 2026-03-22 03:17:39 -02:30
Tentatively enable inventory sources
This commit is contained in:
@@ -16,6 +16,7 @@ EXPORTABLE_RESOURCES = [
|
|||||||
'notification_templates',
|
'notification_templates',
|
||||||
'projects',
|
'projects',
|
||||||
'inventory',
|
'inventory',
|
||||||
|
'inventory_sources',
|
||||||
'job_templates',
|
'job_templates',
|
||||||
'workflow_job_templates',
|
'workflow_job_templates',
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -474,6 +474,7 @@ class InventorySource(HasCreate, HasNotifications, UnifiedJobTemplate):
|
|||||||
optional_schedule_fields = tuple()
|
optional_schedule_fields = tuple()
|
||||||
dependencies = [Inventory]
|
dependencies = [Inventory]
|
||||||
optional_dependencies = [Credential, InventoryScript, Project]
|
optional_dependencies = [Credential, InventoryScript, Project]
|
||||||
|
NATURAL_KEY = ('organization', 'name', 'inventory')
|
||||||
|
|
||||||
def payload(
|
def payload(
|
||||||
self,
|
self,
|
||||||
|
|||||||
Reference in New Issue
Block a user