Unable to parse /runner/inventory/aws_ec2.yml as an inventory source ERROR! No inventory was parsed.

Solution Verified - Updated -

Issue

  • AWS inventory sync is failing with below error:
[WARNING]: Invalid characters were found in group names but not replaced, use
-vvvv to see details
[WARNING]:  * Failed to parse /runner/inventory/aws_ec2.yml with auto plugin:
Invalid group name format, expected a string or a list of them or dictionary,
got: <class 'int'>

Environment

  • Red Hat Ansible Automation Platform 2.4

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