ansible-collections / community.general

Ansible Community General Collection
https://galaxy.ansible.com/ui/repo/published/community/general/
GNU General Public License v3.0
827 stars 1.52k forks source link

Abiliti to assign realm roles to groups #7424

Open ablasmiisu opened 1 year ago

ablasmiisu commented 1 year ago

Summary

Hello

I am maping keycloak realm admin permissions to imported LDAP groups and it would be nice to be able to assign realm based (composite) roles to groups with ansible. Example below.

Issue Type

Feature Idea

Component Name

keycloak_group

Additional Information

- name: Assign admin role to group
  community.general.keycloak_group:
    name: kc-group-name
    state: present
    auth_client_id: admin-cli
    auth_keycloak_url: https://auth.example.com/auth
    auth_realm: master
    auth_username: USERNAME
    auth_password: PASSWORD
    realmRoles
      - name: admin
  delegate_to: localhost

Code of Conduct

ansibullbot commented 1 year ago

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot commented 1 year ago

cc @adamgoossens @eikef @mattock @ndclt click here for bot help

ansibullbot commented 3 months ago

cc @thomasbach-dev click here for bot help