Collection artifacts are meant to be immutable, and cannot be deleted in
the current version of community galaxy.  You could file an issue at
https://github.com/ansible/galaxy but since there is no means to delete it
directly within the app, I believe the only way is for the admins to
manipulate the DB directly.  I've seen other issues logged for this, but
don't believe any of them have been completed.

Example: https://github.com/ansible/galaxy/issues/3034

On Tue, Aug 8, 2023 at 10:36 AM Pierre TOURON <[email protected]>
wrote:

> Ah bummer :(
>
> Going through documentation, it seems to me you can only delete roles, not
> collections. You can still deprecate one, which should hide it from search
> results (can still be bypassed though). Perhaps you will be able to delete
> it after that ?
> You may also try to replace it with an empty one by publishing over it ?
>
> Also, here is a documentation about migrating content
> <https://docs.ansible.com/ansible/latest/dev_guide/developing_collections_migrating.html#migrating-content>;
> you might find something useful there.
>
> Alas, I don't know anyone you could contact for your request, but maybe
> try to ask galaxy project contributors
> <https://github.com/ansible/galaxy/graphs/contributors> (the help popup
> on Galaxy web page shows a shorter maintainer list), or open an issue
> <https://github.com/ansible/galaxy/issues> ? Here is one you can jump on
> : https://github.com/ansible/galaxy/issues/3034, and I can already see
> other similar request in there :/.
>
> Le mardi 8 août 2023 à 04:29:12 UTC+2, Clemson C a écrit :
>
>> Unfortunately my galaxy collection does not have a delete function it
>> seems, only deprecate. Is there somewhere where I can request my collection
>> to be deleted?
>> [image: ansiblegalaxy.png]
>>
>>
>>
>> On Tuesday, 8 August 2023 at 05:44:13 UTC+12 Pierre TOURON wrote:
>>
>>> Hi,
>>>
>>> Depends on where you pushed it I guess.
>>> If that's on Galaxy, I never published anything there myself, but surely
>>> there is an option to remove / change content visibility, in 'my imports
>>> <https://galaxy.ansible.com/my-imports/>' page perhaps ?
>>> From the screenshot on this instruction page
>>> <https://galaxy.ansible.com/docs/contributing/deprecate.html>, it seems
>>> doable in 'My contents' page.
>>>
>>> If on git, you could always delete repository or change visibility,
>>> though the mean to do it depends on your hosting platform.
>>>
>>> Le lundi 31 juillet 2023 à 16:15:14 UTC+2, Clemson C a écrit :
>>>
>>>> I have posted uploaded an ansible collection as a test, how do i delete
>>>> it or disable it from public access?
>>>>
>>> --
> 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/0b66158a-f2ac-462c-8831-f322a15f97f1n%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/0b66158a-f2ac-462c-8831-f322a15f97f1n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Matt Martz
@sivel
sivel.net

-- 
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/CAD8N0v9-LDZTVdFFw-K6NKNqoimrwZ4zKqZu7zjOHLUATHGtSw%40mail.gmail.com.

Reply via email to