AAP2.5 How do you create controller_roles

Can someone please help us and tell me how it is possible to create roles in the 2.5 Controller/Automation Execution?

We tried the approach of using filetree_read and then dispatch.
infra.aap_configuration.dispatch seems to be missing the possibility to create roles.
The old role infra.controller_configuration.dispatch doesnt work with 2.5 for us.

We try to do this as configuration as code, so we dont want to have to click in the UI. (There it works.)

What about awx.awx.role and awx.awx.role_definition (ansible.controller =~ awx.awx)? This assumes you’re talking about that type of roles (RBAC). Is this part of a postinstall process?

We didnt find a way to use dispatch, but by using “controller_configuration.roles” its possible to create them in 2.5 and for now thats sufficient for us.