# Galaxy import successful but latest versions error to download

**URL:** <https://forum.ansible.com/t/galaxy-import-successful-but-latest-versions-error-to-download/3231>\
**Category:** Get Help\
**Tags:** role, galaxy-ng\
**Created:** [January 9, 2024, 9:06pm UTC](https://forum.ansible.com/t/galaxy-import-successful-but-latest-versions-error-to-download/3231 "2024-01-09T21:06:57Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![dbrennand](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dbrennand/32/7830_2.png) [@dbrennand](https://forum.ansible.com/u/dbrennand)\
**Post date:** [January 14, 2024, 2:47pm UTC](https://forum.ansible.com/t/galaxy-import-successful-but-latest-versions-error-to-download/3231/7 "2024-01-14T14:47:14Z")

</div>

For anyone finding this thread and using GitHub Actions to publish their Ansible role, my current workaround is to extract the `galaxy_info.role_name` using `yq` and provide this to the `--role-name` CLI argument.

> <https://github.com/dbrennand/ansible-role-caddy-docker/commit/afb178dd4e0f2e1409df506654445a58809ef769>
>
> https://forum.ansible.com/t/galaxy-import-successful-but-latest-versions-error-t…o-download/3231/3

`yq` is installed by default on `ubuntu-latest` GitHub runner.

---

_[View the full topic](https://forum.ansible.com/t/galaxy-import-successful-but-latest-versions-error-to-download/3231)._
