mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2026-11-24 18:03:48 +00:00
Add support for description attribute
This commit is contained in:
@@ -53,6 +53,10 @@ options:
|
|||||||
description:
|
description:
|
||||||
- Name of the group.
|
- Name of the group.
|
||||||
- This parameter is required only when creating or updating the group.
|
- This parameter is required only when creating or updating the group.
|
||||||
|
description:
|
||||||
|
type: str
|
||||||
|
description:
|
||||||
|
- Description of the group
|
||||||
realm:
|
realm:
|
||||||
type: str
|
type: str
|
||||||
description:
|
description:
|
||||||
@@ -298,6 +302,11 @@ end_state:
|
|||||||
manage: true
|
manage: true
|
||||||
manageMembership: true
|
manageMembership: true
|
||||||
view: true
|
view: true
|
||||||
|
description:
|
||||||
|
description: A description of the group as string.
|
||||||
|
type: str
|
||||||
|
returned: when present
|
||||||
|
sample: An example group description
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ansible.module_utils.basic import AnsibleModule
|
from ansible.module_utils.basic import AnsibleModule
|
||||||
@@ -324,6 +333,7 @@ def main():
|
|||||||
realm=dict(default="master"),
|
realm=dict(default="master"),
|
||||||
id=dict(type="str"),
|
id=dict(type="str"),
|
||||||
name=dict(type="str"),
|
name=dict(type="str"),
|
||||||
|
description=dict(type="str"),
|
||||||
attributes=dict(type="dict"),
|
attributes=dict(type="dict"),
|
||||||
parents=dict(
|
parents=dict(
|
||||||
type="list",
|
type="list",
|
||||||
@@ -361,6 +371,7 @@ def main():
|
|||||||
state = module.params.get("state")
|
state = module.params.get("state")
|
||||||
gid = module.params.get("id")
|
gid = module.params.get("id")
|
||||||
name = module.params.get("name")
|
name = module.params.get("name")
|
||||||
|
description = module.params.get("description")
|
||||||
attributes = module.params.get("attributes")
|
attributes = module.params.get("attributes")
|
||||||
|
|
||||||
parents = module.params.get("parents")
|
parents = module.params.get("parents")
|
||||||
|
|||||||
Reference in New Issue
Block a user