Ansible Info¶
Provide information about the Ansible packages installed on a system.
-
class
insights.combiners.ansible_info.
AnsibleInfo
(rpms)[source]¶ Bases:
dict
Provides 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
dict
with dictionary keys being the Ansible package names, and data values beinginsights.parsers.installed_rpms.InstalledRpm
objects. See theinsights.parsers.installed_rpms.InstalledRpm
class 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'
-
catalog_worker_version
¶ Version of catalog-worker installed or
None
Type: str
-
controller_version
¶ Version of ansible-tower installed, or if it’s not installed the version of automation-controller installed or
None
Type: str
-
hub_version
¶ Version of automation-hub installed or
None
Type: str
-
is_catalog_worker
¶ Whether or not this system has
catalog-worker
installedType: bool
-
is_controller
¶ Whether or not this system has
ansible-tower
orautomation-controller
installedType: bool
-
is_hub
¶ Whether or not this system has
automation-hub
installedType: bool
-
is_tower
¶ Whether or not this system has
ansible-tower
installedType: bool
-
tower_version
¶ Version of ansible-tower installed or
None
Type: str
-