# Install ansible.platform collections

**URL:** <https://forum.ansible.com/t/install-ansible-platform-collections/43004>\
**Category:** Get Help\
**Tags:** infra-config-as-code, aap, galaxy-ng\
**Created:** [May 25, 2025, 1:45pm UTC](https://forum.ansible.com/t/install-ansible-platform-collections/43004 "2025-05-25T13:45:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsexton18](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dsexton18/32/4952_2.png) [@dsexton18](https://forum.ansible.com/u/dsexton18)\
**Post date:** [May 25, 2025, 1:45pm UTC](https://forum.ansible.com/t/install-ansible-platform-collections/43004/1 "2025-05-25T13:45:15Z")

</div>

When trying to install the following ansible collections listed below. Note I am using the Red Hat Developer Subscription. My goal is to deploy AAP 2.5 using IAC. Using this github project as a guide [https://github.com/redhat-cop/aap\_configuration\_template](https://github.com/redhat-cop/aap_configuration_template)

```auto
---
collections:
  - name: ansible.platform
    version: "*"
  - name: ansible.hub
  - name: ansible.controller
  - name: ansible.eda
  - name: infra.aap_configuration
...

```

```auto
ansible-galaxy collection install -r requirments.yml 
Starting galaxy collection install process
Process install dependency map
ERROR! Failed to resolve the requested dependencies map. Could not satisfy the following requirements:
* ansible.platform:* (direct request)

```

I added the below to my ansible.cfg

```auto
[galaxy_server.rh_hub]
url = https://console.redhat.com/api/automation-hub/content/validated/
token = tokenhere
auth_url = https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token

```

---

<div class="post-metadata">

**Author:** ![wayt](https://avatars.discourse-cdn.com/v4/letter/w/3be4f8/32.png) [@wayt](https://forum.ansible.com/u/wayt)\
**Post date:** [May 25, 2025, 1:56pm UTC](https://forum.ansible.com/t/install-ansible-platform-collections/43004/2 "2025-05-25T13:56:18Z")

</div>

You’ll need to get those collections from automation hub (red hat authentication) or you can use the AAP 2.5 EE you can get from the Red Hat Ecosystem Catalog ([registry.redhat.io](http://registry.redhat.io)).

---

<div class="post-metadata">

**Author:** ![dsexton18](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dsexton18/32/4952_2.png) [@dsexton18](https://forum.ansible.com/u/dsexton18)\
**Post date:** [May 25, 2025, 7:59pm UTC](https://forum.ansible.com/t/install-ansible-platform-collections/43004/3 "2025-05-25T19:59:45Z")

</div>

I figured it out I had the wrong galaxy server url needed [https://console.redhat.com/api/automation-hub/content/published/](https://console.redhat.com/api/automation-hub/content/published/)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [June 24, 2025, 8:00pm UTC](https://forum.ansible.com/t/install-ansible-platform-collections/43004/4 "2025-06-24T20:00:32Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
