Mark the collection role module as deprecated (#15455)

* Mark the collection role module as deprecated

* Mark deprecated in DOCUMENTATION

* Add deprecation info

* Resolve validate-modules deprecation errors

---------

Co-authored-by: Luis <lvilla@redhat.com>
This commit is contained in:
Alan Rominger 2025-06-18 12:09:56 -04:00 committed by GitHub
parent 3db2e04efe
commit 022314b542
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -263,3 +263,7 @@ plugin_routing:
removal_date: '2022-01-23'
warning_text: The tower_* modules have been deprecated, use awx.awx.workflow_node_wait instead.
redirect: awx.awx.workflow_node_wait
role:
deprecation:
removal_version: '25.0.0'
warning_text: This is replaced by the DAB role system, via the role_definition module.

View File

@ -17,6 +17,10 @@ DOCUMENTATION = '''
module: role
author: "Wayne Witzel III (@wwitzel3)"
short_description: grant or revoke an Automation Platform Controller role.
deprecated:
removed_in: '25.0.0'
why: Endpoints corresponding to module will be removed in the API
alternative: Use the role_user_assignment and role_team_assignment modules instead.
description:
- Roles are used for access control, this module is for managing user access to server resources.
- Grant or revoke Automation Platform Controller roles to users. See U(https://www.ansible.com/tower) for an overview.