Using awx command line tool with AAP 2.5

Solution Verified - Updated -

Issue

  • How can I use the awx command-line tool to manage AAP 2.5?
  • The awx command-line tool generates the following error when used against the AAP platform gateway:

    An error occurred while fetching https://<host>/api/
    
  • The awx command-line tool generates an error and the details show the following:

    AttributeError: 'Api' object has no attribute 'available_versions'
    
  • The awx command-line tool generates an error like the following when trying to create a resource:

    {"detail": "Creation of this resource is not allowed. Create this resource via the platform ingress."}
    

Environment

  • Red Hat Ansible Automation Platform 2.5

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