mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 07:17:40 -02:30
support ovirt4 as a built-in inventory source
see: https://github.com/ansible/ansible-tower/issues/6522
This commit is contained in:
committed by
Matthew Jones
parent
4510cd11db
commit
74f2509482
@@ -872,6 +872,7 @@ class InventorySourceOptions(BaseModel):
|
||||
('satellite6', _('Red Hat Satellite 6')),
|
||||
('cloudforms', _('Red Hat CloudForms')),
|
||||
('openstack', _('OpenStack')),
|
||||
('ovirt4', _('oVirt4')),
|
||||
('custom', _('Custom Script')),
|
||||
]
|
||||
|
||||
@@ -1120,6 +1121,11 @@ class InventorySourceOptions(BaseModel):
|
||||
"""Red Hat CloudForms region choices (not implemented)"""
|
||||
return [('all', 'All')]
|
||||
|
||||
@classmethod
|
||||
def get_ovirt4_region_choices(self):
|
||||
"""No region supprt"""
|
||||
return [('all', 'All')]
|
||||
|
||||
def clean_credential(self):
|
||||
if not self.source:
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user