Hello, it seems like the galaxy.ansible.com Web API (the one that is the ground-truth for ansible-galaxy) is not getting updates from our role pushes since 2023.
what I am attempting to do:
create an empty directory for tests, and cd into it
create a requirements.yml file that contains
roles:
- name: epfl_si.ansible_module_openshift
run ansible-galaxy role install -vvvvv --force -p . -i -r requirements.yml
what I expect to happen: the latest version of epfl_si.ansible_module_openshift (i.e. 1.10.2) should be installed.
what happens instead: a stale version (1.9.1) is installed.
Would someone with suitable access kindly look at the server logs?
One can indeed see that the state at the Ansible Galaxy Web API ( Legacy Roles – Pulp 3 ) is lagging behind the state at the Galaxy back-office UI ( Ansible Galaxy )
Note that one is “ansible_module_openshift” with underscores and the other is “ansible-module-openshift” with hypens. The one with underscores has been around for a while and was migrated over from old-galaxy. The one with hyphens appears to be new and has a recent import log and lists all versions as only a few days old (this happens because we enumerate all tags and retroactively create any missing versions at import time).
No 'alternate-role-name’ parameter was passed at import time. This would have been defined with the --role-name= argument to “ansible-galaxy role publish”
No *role_name* key was found in meta/main.yml
It defaulted to using the repository name … “ansible-module-openshift”
We’ve eliminated all the “magic” with munging role names and namespaces in the new galaxy. So we don’t auto-replace hyphens with underscores, or force anything to all lowercase or any of that unpredictable behavior that used to occur.