1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 15:21:13 +03:00

Tentatively enable inventory sources

This commit is contained in:
Jeff Bradberry 2020-03-30 16:21:17 -04:00
parent e92c8cfdcc
commit 329293dbf0
2 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@ EXPORTABLE_RESOURCES = [
'notification_templates',
'projects',
'inventory',
'inventory_sources',
'job_templates',
'workflow_job_templates',
]

View File

@ -474,6 +474,7 @@ class InventorySource(HasCreate, HasNotifications, UnifiedJobTemplate):
optional_schedule_fields = tuple()
dependencies = [Inventory]
optional_dependencies = [Credential, InventoryScript, Project]
NATURAL_KEY = ('organization', 'name', 'inventory')
def payload(
self,