Files
awx/awx/conf/license.py
2020-10-30 16:40:00 -04:00

15 lines
351 B
Python

# Copyright (c) 2016 Ansible, Inc.
# All Rights Reserved.
__all__ = ['get_license']
def _get_validated_license_data():
from awx.main.utils import get_licenser
return get_licenser().validate()
def get_license():
"""Return a dictionary representing the active license on this Tower instance."""
return _get_validated_license_data()