Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SX5-868 New keycloak_role module. #56063

Open
wants to merge 1 commit into
base: devel
from

Conversation

Projects
None yet
2 participants
@elfelip
Copy link

commented May 3, 2019

SUMMARY

New module to manage Keycloak roles.

ISSUE TYPE
  • New Module Pull Request
COMPONENT NAME

keycloak_role

ADDITIONAL INFORMATION

module: keycloak_role
short_description: Configure a role in Keycloak
description:
- This module creates, removes or update Keycloak realm level role.
- For client level role, use keycloak_client module.
version_added: "2.9"
options:
realm:
description:
- The name of the realm in which is the role.
required: true
default: master
name:
description:
- Name for the realm level role.
required: true
description:
description:
- Description of the role.
required: false
clientRole:
description:
- This parameter indicate if the role is a client role.
- For a ream role, this parameter must be false.
default: false
required: false
containerId:
description:
- Id for the container of the role. For a realm role, it must be the realm name
- Value will be defaulted to {{ realm }} if not defined.
required: false
composite:
description:
- If true, the role is a composition of other realm and/or client role.
default: false
required: false
composites:
description:
- List of roles to include to the composite realm role.
- If the composite role is a client role, the clientId (not id of the client) must be specified.
required: false
suboptions:
name:
description:
- Name of the role. This can be the name of a REALM role or a client role.
type: str
clientId:
description:
- Client ID if the role is a client role. Do not include this option for a REALM role.
- Use the client id we can see in the Keycloak console, not the technical id of the client.
type: str
state:
description:
- Control if the role must exists or not
choices: [ "present", "absent" ]
default: present
required: false
force:
type: bool
default: false
description:
- If true, allows to remove role and recreate it.

@ansibot

This comment has been minimized.

Copy link
Contributor

commented May 3, 2019

@adamgoossens @eikef

As a maintainer of a module in the same namespace this new module has been submitted to, your vote counts for shipits. Please review this module and add shipit if you would like to see it merged.

click here for bot help

@ansibot

This comment has been minimized.

Copy link
Contributor

commented May 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.