Ansible Galaxy: role published under incorrect namespace

Hello everyone,
I made a mistake when publishing my Ansible role. I defined the namespace in meta/main.yaml. It contained my GitHub username with an underscore volker_raschek instead of volker-raschek.

I deleted the Ansible role, corrected meta/main.yaml, and re-registered the Ansible role. Unfortunately, Ansible detects that the role was previously published under the old name volker_raschek.unix_users and uses this name instead of the new one.

All my roles contain volker-raschek as the namespace, except for one role. This is quite annoying. How can I correct the namespace or have it corrected so that the namespace of my roles is consistent?

The role in question is:

Here is an excerpt from the import logs:

==== CHECK FOR MATCHING ROLE(S) ==== 
user:volker-raschek repo:ansible-role-unix-users matched existing role volker_raschek.unix_users id:41338 

I’ll take a look at this. Might take me a bit of digging.

I’ll be deleting the mistaken role and mistaken role namespace. Will reply once I complete that.

Mistaken role and role namespace have been deleted. Try the upload again and if it works, please mark this as solved by clicking the little checkmark.

1 Like

Hi @samccann,

thanks for your quick response and support. I’ve uploaded the ansible role again and the role is now part of my correct namespace.

Thank your very much
Volker

1 Like