Executing ansible-galaxy to install roles or collections tries to connect to the Ansible Galaxy API by default

Solution Verified - Updated -

Issue

  • Why does the ansible-galaxy command try to reach the API at galaxy.ansible.com even when obtaining roles or collections from a software configuration management platform (SCM) such as git?

Environment

  • Ansible Tower 3.8
  • Red Hat Ansible Automation Platform
    • 1.2
    • 2
  • Red Hat Ansible Engine 2.9
  • Ansible Core
    • 2.12
    • 2.13

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