Interview Prep/Ansible/Cloud, AWX, Windows and Molecule

An AWX project sync fails while installing collections from Private Automation Hub, though Git checkout succeeds

AdvancedTroubleshootingCloud, AWX, Windows and Molecule
Answer

Likely causes → AWX installs collections/requirements.yml using the Galaxy / Automation Hub credentials attached to the Organization, in the order they are listed. The hub credential is missing, out of order, or holds an expired token, so the install gets a 401 or falls back to public Galaxy, which does not have the internal collection.

Diagnose → Open the project update job output and look for the ansible-galaxy collection install step and the server URL it called.

Fix → Create a credential of type "Ansible Galaxy/Automation Hub API Token" with the hub URL and token, attach it to the Organization above public Galaxy, and sync again.

Prevent → Use a service token with a known expiry and rotation reminder. Better, pre-bake internal collections into the EE.

All Ansible questions Roadmap: Ansible

More on Cloud, AWX, Windows and Molecule