diff --git a/awx_collection/meta/runtime.yml b/awx_collection/meta/runtime.yml index e1cbe65f01..c663b95daa 100644 --- a/awx_collection/meta/runtime.yml +++ b/awx_collection/meta/runtime.yml @@ -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. diff --git a/awx_collection/plugins/modules/role.py b/awx_collection/plugins/modules/role.py index f94447c75b..32f1124ed9 100644 --- a/awx_collection/plugins/modules/role.py +++ b/awx_collection/plugins/modules/role.py @@ -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.