Ansible Info
Provide information about the Ansible packages installed on a system.
- class insights.combiners.ansible_info.AnsibleInfo(rpms)[source]
Bases:
dictProvides information related to Ansible based on the RPMs installed.
Provides properties to determine the Ansible specific system characteristics. The base class of the combiner is
dictwith dictionary keys being the Ansible package names, and data values beinginsights.parsers.installed_rpms.InstalledRpmobjects. See theinsights.parsers.installed_rpms.InstalledRpmclass for more information on object methods and values.Properties are provided to aid in fingerprinting of the system.
Examples
>>> type(info) <class 'insights.combiners.ansible_info.AnsibleInfo'> >>> info.is_tower True >>> info.tower_version '1.0.0' >>> info.is_controller True >>> info.controller_version '1.0.0'
- property catalog_worker_version
Version of catalog-worker installed or
None- Type:
str
- property controller_version
Version of ansible-tower installed, or if it’s not installed the version of automation-controller installed or
None- Type:
str
- property hub_version
Version of automation-hub installed or
None- Type:
str
- property is_catalog_worker
Whether or not this system has
catalog-workerinstalled- Type:
bool
- property is_controller
Whether or not this system has
ansible-towerorautomation-controllerinstalled- Type:
bool
- property is_hub
Whether or not this system has
automation-hubinstalled- Type:
bool
- property is_tower
Whether or not this system has
ansible-towerinstalled- Type:
bool
- property tower_version
Version of ansible-tower installed or
None- Type:
str