mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 06:01:25 -03:30
add settings for license & automation analytics creds
This commit is contained in:
parent
3d4cd1b575
commit
1a78c16adf
@ -124,6 +124,44 @@ register(
|
||||
category_slug='system',
|
||||
)
|
||||
|
||||
register(
|
||||
'REDHAT_USERNAME',
|
||||
field_class=fields.CharField,
|
||||
default='',
|
||||
allow_blank=True,
|
||||
encrypted=False,
|
||||
read_only=False,
|
||||
label=_('Your Red hat customer username'),
|
||||
help_text=_('Enter your Red Hat customer password to get a Tower License'), # noqa
|
||||
category=_('System'),
|
||||
category_slug='system',
|
||||
)
|
||||
|
||||
register(
|
||||
'REDHAT_PASSWORD',
|
||||
field_class=fields.CharField,
|
||||
default='',
|
||||
allow_blank=True,
|
||||
encrypted=True,
|
||||
read_only=False,
|
||||
label=_('Your Red Hat customer password'),
|
||||
help_text=_('Enter your Red Hat customer password to get a Tower License'), # noqa
|
||||
category=_('System'),
|
||||
category_slug='system',
|
||||
)
|
||||
|
||||
register(
|
||||
'AUTOMATION_ANALYTICS_URL',
|
||||
field_class=fields.URLField,
|
||||
default='https://cloud.redhat.com',
|
||||
schemes=('http', 'https'),
|
||||
allow_plain_hostname=True, # Allow hostname only without TLD.
|
||||
label=_('Automation Analytics upload URL.'),
|
||||
help_text=_('This setting is used to to configure data collection for the Automation Analytics dashboard.'),
|
||||
category=_('System'),
|
||||
category_slug='system',
|
||||
)
|
||||
|
||||
register(
|
||||
'INSTALL_UUID',
|
||||
field_class=fields.CharField,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user