# Ansible-galaxy failing on importing roles

**URL:** <https://forum.ansible.com/t/ansible-galaxy-failing-on-importing-roles/7262>\
**Category:** Get Help\
**Tags:** rhel, ansible-core, galaxy-ng\
**Created:** [July 13, 2024, 2:47am UTC](https://forum.ansible.com/t/ansible-galaxy-failing-on-importing-roles/7262 "2024-07-13T02:47:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewm659](https://avatars.discourse-cdn.com/v4/letter/a/439d5e/32.png) [@andrewm659](https://forum.ansible.com/u/andrewm659)\
**Post date:** [July 13, 2024, 2:47am UTC](https://forum.ansible.com/t/ansible-galaxy-failing-on-importing-roles/7262/1 "2024-07-13T02:47:43Z")

</div>

**Please replace this text with a description of your issue**. You should:

- Give a clear explanation (and steps to reproduce the issue where possible)  
Trying to download roles using ansible-galaxy from private git repo

- Include the version(s) of the relevant software tools, libraries, collections etc  
This is happening on RHEL 8 and 9 latest versions respectively.

```auto
[ansible@jump05 ansible1]$ /usr/bin/ansible-galaxy role install -p roles -r /opt/syseng/automation/ansible1/roles.yml -f -i -vvv
ansible-galaxy [core 2.16.3]
  config file = /opt/syseng/automation/ansible1/ansible.cfg
  configured module search path = ['/opt/syseng/automation/ansible1/{{ ANSIBLE_HOME ~ "/plugins/modules', '/usr/share/ansible/plugins/modules', '/opt/syseng/automation/ansible1/library" }}']
  ansible python module location = /usr/lib/python3.12/site-packages/ansible
  ansible collection location = /opt/syseng/automation/ansible1/ansible_collections:/opt/syseng/automation/ansible1/collection
  executable location = /usr/bin/ansible-galaxy
  python version = 3.12.3 (main, Jun 19 2024, 10:06:03) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] (/usr/bin/python3.12)
  jinja version = 3.1.2
  libyaml = True

```

- Include relevant logs from the issue  
Example of what is in my roles.yml

```auto
- name: asm_grafana
  version: main
  scm: git
  src: http://10.150.10.61:3000/gitadmin/asm_grafana.git

```

---

<div class="post-metadata">

**Author:** ![felixfontein](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/felixfontein/32/7530_2.png) [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Post date:** [July 13, 2024, 10:55am UTC](https://forum.ansible.com/t/ansible-galaxy-failing-on-importing-roles/7262/2 "2024-07-13T10:55:10Z")

</div>

Welcome to the forum, @andrewm659! You are not showing any logs of failures. Without them, it’s kind of hard to help you since it’s totally unclear what isn’t working.

---

<div class="post-metadata">

**Author:** ![shertel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/shertel/32/1241_2.png) [@shertel](https://forum.ansible.com/u/shertel)\
**Post date:** [July 16, 2024, 1:39pm UTC](https://forum.ansible.com/t/ansible-galaxy-failing-on-importing-roles/7262/3 "2024-07-16T13:39:22Z")

</div>

If your role contains symlinks, try upgrading to 2.16.7.
