Unable to sync inventory from console.redhat.com(Insights Inventory) on Red Hat Ansible Automation Platform 2.x

Solution Verified - Updated -


 Loading collection redhat.insights from /usr/share/ansible/collections/ansible_collections/redhat/insights
 [WARNING]: Collection redhat.insights does not support Ansible version 2.15.9
 Using inventory plugin 'ansible_collections.redhat.insights.plugins.inventory.insights' to process inventory source '/runner   /inventory/insights.yml'
 [WARNING]:  * Failed to parse /runner/inventory/insights.yml with auto plugin:
http error (404):
   File "/usr/lib/python3.9/site-packages/ansible/inventory/manager.py", line 293, in parse_source
     plugin.parse(self._inventory, self._loader, source, cache=cache)
   File "/usr/lib/python3.9/site-packages/ansible/plugins/inventory/auto.py", line 59, in parse
     plugin.parse(inventory, loader, path, cache=cache)
   File "/usr/share/ansible/collections/ansible_collections/redhat/insights/plugins/inventory/insights.py", line 253, in parse
     stale_patches =  elf.get_patches(stale=True,get_system_advisories=get_system_advisories,get_system_packages=get_system_packages,filter_tags=filter_tags)
   File "/usr/share/ansible/collections/ansible_collections/redhat/insights/plugins/inventory/insights.py", line 144, in get_patches
     raise AnsibleError("http error (%s): %s" %
 [WARNING]: Unable to parse /runner/inventory/insights.yml as an inventory source
 ERROR! No inventory was parsed, please check your configuration and options.


  • Red Hat® Ansible Automation Platform 2.x
    • Execution Environment(EE) with redhat.insights 1.x.x installed in it.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content