AwxManage - commands awx-manage

Parsers contains in this module are:

AnsibleTowerLicenseType - command awx-manage check_license

class insights.parsers.awx_manage.AnsibleTowerLicenseType(context, extra_bad_lines=None)[source]

Bases: insights.core.CommandParser, insights.core.JSONParser

Parses the output of command awx-manage check_license

Sample output of the command:

enterprise
type

The license type, e.g. “enterprise”

Type

str

Examples: >>> type(awx_license) <class ‘insights.parsers.awx_manage.AnsibleTowerLicenseType’> >>> awx_license.type == “enterprise” True

parse_content(content)[source]

This method must be implemented by classes based on this class.