x86_64-centos-awx/awx/conf/license.py
2021-03-02 20:53:43 +08: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()