ansible-galaxy no longer working

37 views
Skip to first unread message

Andrew Meyer

unread,
Jun 24, 2024, 2:03:21 PM (5 days ago) Jun 24
to Ansible Project
Hello, 
About a week ago I updated ansible and am getting the following error:

[ansible@jump04 ansible1]$ /usr/bin/ansible-galaxy install --force -p roles -r /opt/syseng/automation/ansible1/roles.yml --ignore-errors
Starting galaxy role install process
ERROR! Unexpected Exception, this is probably a bug: 'version'
to see the full traceback, use -vvv
[ansible@jump04 ansible1]$

ansible [core 2.14.14]
  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.9/site-packages/ansible
  ansible collection location = /opt/syseng/automation/ansible1/ansible_collections:/opt/syseng/automation/ansible1/collection
  executable location = /usr/bin/ansible
  python version = 3.9.18 (main, Jan 24 2024, 00:00:00) [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] (/usr/bin/python3)
  jinja version = 3.1.2
  libyaml = True
[ansible@jump04 ansible1]$

I'm running:
RHEL 9.4

Todd Lewis

unread,
Jun 24, 2024, 2:52:13 PM (5 days ago) Jun 24
to Ansible Project
Can you show us what your requirements file contains? (And I'm curious why you call it "/opt/syseng/automation/ansible1/roles.yml" rather than "/something/something/requirements.yml".)

Was there anything interesting when you ran it with "-vvv"?

Andrew Meyer

unread,
Jun 24, 2024, 3:11:45 PM (5 days ago) Jun 24
to Ansible Project
ansible-galaxy just pulls down my roles.  I just haven't changed it yet.

Andrew Meyer

unread,
Jun 25, 2024, 5:37:03 PM (4 days ago) Jun 25
to Ansible Project
Also I don't have a requirements.yml.  I use the roles.yml.
Reply all
Reply to author
Forward
0 new messages