mirror of
https://github.com/ansible/awx.git
synced 2026-08-01 02:19:55 -02:30
Make cloud providers dynamic (#15537)
* Add dynamic pull for cloud inventory plugins and update corresponding tests Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua> * Create third dictionary to preserve current functionality and add 'file' there * Migrations for corresponding change --------- Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
This commit is contained in:
@@ -6,7 +6,6 @@ import re
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
__all__ = [
|
||||
'CLOUD_PROVIDERS',
|
||||
'PRIVILEGE_ESCALATION_METHODS',
|
||||
'ANSI_SGR_PATTERN',
|
||||
'CAN_CANCEL',
|
||||
@@ -14,25 +13,6 @@ __all__ = [
|
||||
'STANDARD_INVENTORY_UPDATE_ENV',
|
||||
]
|
||||
|
||||
CLOUD_PROVIDERS = (
|
||||
'azure_rm',
|
||||
'ec2',
|
||||
'gce',
|
||||
'vmware',
|
||||
'openstack',
|
||||
'rhv',
|
||||
'satellite6',
|
||||
'controller',
|
||||
'insights',
|
||||
'terraform',
|
||||
'openshift_virtualization',
|
||||
'controller_supported',
|
||||
'rhv_supported',
|
||||
'openshift_virtualization_supported',
|
||||
'insights_supported',
|
||||
'satellite6_supported',
|
||||
)
|
||||
|
||||
PRIVILEGE_ESCALATION_METHODS = [
|
||||
('sudo', _('Sudo')),
|
||||
('su', _('Su')),
|
||||
|
||||
Reference in New Issue
Block a user