# It is not possible to mark a role as obsolete

**URL:** <https://forum.ansible.com/t/it-is-not-possible-to-mark-a-role-as-obsolete/40121>\
**Category:** Project Discussions\
**Tags:** ansible-galaxy, role, galaxy, galaxy-ng\
**Created:** [February 7, 2025, 12:41pm UTC](https://forum.ansible.com/t/it-is-not-possible-to-mark-a-role-as-obsolete/40121 "2025-02-07T12:41:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bodsch](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/bodsch/32/906_2.png) [@bodsch](https://forum.ansible.com/u/bodsch)\
**Post date:** [February 7, 2025, 12:41pm UTC](https://forum.ansible.com/t/it-is-not-possible-to-mark-a-role-as-obsolete/40121/1 "2025-02-07T12:41:56Z")

</div>

Hi all,

I have transferred some roles to a collection and no longer maintain the roles.

I would now like to mark these roles as deprecated / non-maintained.

Currently I could only delete them, but this would not be backward compatible.

The roles are also still displayed in the Galaxy.

Here it would be really useful to enable and display an obsolete flag. Or to completely prevent a download.

---

<div class="post-metadata">

**Author:** ![felixfontein](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/felixfontein/32/7530_2.png) [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Post date:** [February 8, 2025, 12:50pm UTC](https://forum.ansible.com/t/it-is-not-possible-to-mark-a-role-as-obsolete/40121/2 "2025-02-08T12:50:26Z")

</div>

That would be very useful indeed. It is possible for collections, but apparently not for roles…

(For my single role on Galaxy, for some reason it even took an older version of the README and description, so it doesn’t even say it’s deprecated in the README and description… 🤷)
