Disregard, deleted all roles and re-downloaded them.

On Wednesday, August 30, 2023 at 4:27:22 PM UTC-5 Andrew Meyer wrote:

> 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:
>        ~~~~~~~~~~~~~~~~~^^^^^^^^^^^
> TypeError: 'bool' object is not subscriptable
> [ansible@jump04 ansible1]$ 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/08d2ca67-3fec-42e9-9529-f40dcc91515cn%40googlegroups.com.

Reply via email to