mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
added region choice placeholders for Sat6/CloudForms
This commit is contained in:
parent
070555b6ba
commit
fe75d164a7
@ -981,6 +981,16 @@ class InventorySourceOptions(BaseModel):
|
||||
"""I don't think openstack has regions"""
|
||||
return [('all', 'All')]
|
||||
|
||||
@classmethod
|
||||
def get_foreman_region_choices(self):
|
||||
"""Red Hat Satellite 6 region choices (not implemented)"""
|
||||
return [('all', 'All')]
|
||||
|
||||
@classmethod
|
||||
def get_cloudforms_region_choices(self):
|
||||
"""Red Hat CloudForms region choices (not implemented)"""
|
||||
return [('all', 'All')]
|
||||
|
||||
def clean_credential(self):
|
||||
if not self.source:
|
||||
return None
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user