# ansible-galaxy errors

**URL:** <https://forum.ansible.com/t/ansible-galaxy-errors/38391>\
**Category:** Ansible Project\
**Tags:** galaxy-ng\
**Created:** [August 30, 2023, 9:27pm UTC](https://forum.ansible.com/t/ansible-galaxy-errors/38391 "2023-08-30T21:27:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Meyer1](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@Andrew\_Meyer1](https://forum.ansible.com/u/Andrew_Meyer1)\
**Post date:** [August 30, 2023, 9:27pm UTC](https://forum.ansible.com/t/ansible-galaxy-errors/38391/1 "2023-08-30T21:27:22Z")

</div>

The other day I suffered a power outage and got everything back online but now when I run ansible-galaxy it errors out no matter what I do. Has anyone else run into this issue??

[ansible@jump04 ansible1]$ /usr/bin/ansible-galaxy install --force -p roles -r /opt/syseng/automation/ansible1/roles.yml --ignore-errors -vvv  
ansible-galaxy [core 2.14.2]  
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.11/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.11.2 (main, May 24 2023, 00:00:00) [GCC 11.3.1 20221121 (Red Hat 11.3.1-4)] (/usr/bin/python3.11)  
jinja version = 3.1.2  
libyaml = True  
Using /opt/syseng/automation/ansible1/ansible.cfg as config file  
Reading requirement file at ‘/opt/syseng/automation/ansible1/roles.yml’  
Starting galaxy role install process  
Processing role grafana\_new  
ERROR! Unexpected Exception, this is probably a bug: ‘bool’ object is not subscriptable  
the full traceback was:

Traceback (most recent call last):  
File “/usr/lib/python3.11/site-packages/ansible/cli/ **init**.py”, line 647, in cli\_executor  
exit\_code = cli.run()  
^^^^^^^^^  
File “/usr/lib/python3.11/site-packages/ansible/cli/galaxy.py”, line 714, in run  
return context.CLIARGS’func’  
^^^^^^^^^^^^^^^^^^^^^^^^^  
File “/usr/lib/python3.11/site-packages/ansible/cli/galaxy.py”, line 115, in method\_wrapper  
return wrapped\_method(\*args, \*\*kwargs)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “/usr/lib/python3.11/site-packages/ansible/cli/galaxy.py”, line 1357, in execute\_install  
self.\_execute\_install\_role(role\_requirements)  
File “/usr/lib/python3.11/site-packages/ansible/cli/galaxy.py”, line 1428, in \_execute\_install\_role  
if role.install\_info[‘version’] != role.version or force:

```auto
TypeError: 'bool' object is not subscriptable
[ansible@jump04 ansible1]$
```

---

<div class="post-metadata">

**Author:** ![Andrew\_Meyer1](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@Andrew\_Meyer1](https://forum.ansible.com/u/Andrew_Meyer1)\
**Post date:** [August 31, 2023, 2:37pm UTC](https://forum.ansible.com/t/ansible-galaxy-errors/38391/2 "2023-08-31T14:37:57Z")

</div>

Disregard, deleted all roles and re-downloaded them.
