Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The ansible.cfg.j2 template is using the wrong API paths for AAP 2.5 in ee_builder role #173

Open
robbbbh opened this issue Nov 6, 2024 · 1 comment · May be fixed by #174
Open

The ansible.cfg.j2 template is using the wrong API paths for AAP 2.5 in ee_builder role #173

robbbbh opened this issue Nov 6, 2024 · 1 comment · May be fixed by #174
Labels
bug Something isn't working

Comments

@robbbbh
Copy link

robbbbh commented Nov 6, 2024

Summary

The ansible.cfg.j2 template is using the wrong API paths for AAP 2.5 in ee_builder role. This effects the pulling of collections into the EE during the ansible-builder phase.

Issue Type

I imagine an extra variable will need to be added to specify whether the user is running AAP 2.4 or 2.5 as it would break the role between versions.

  • Bug Report

Desired Behavior

API paths should be https://{{ ee_ah_host }}/pulp_ansible/galaxy/<remote_name>/

Actual Behavior

API paths are currently https://{{ ee_ah_host }}/api/galaxy/content/<remote_name>/

STEPS TO REPRODUCE

Any one using the ee_builder role on an AAP 2.5 will run into the issue if they've specified ee_pull_collections_from_hub to true

@robbbbh robbbbh added bug Something isn't working new labels Nov 6, 2024
@djdanielsson djdanielsson linked a pull request Nov 14, 2024 that will close this issue
@djdanielsson
Copy link
Contributor

I wrote something to hopefully fix this but haven't had a chance to test it yet, I have the PR open. If you can test it out that would be helpful, if not I should be able to get to it soon

@djdanielsson djdanielsson removed the new label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants