mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-28 03:49:09 -07:00
Add support for docker-v2 protocol in Keycloak modules (#8216)
* Add support for docker-v2 protocol in Keycloak modules * use dash instead of underscore for the docker-v2 * Update documentation * Add changelog fragment * fix missing whitespace around operator * Update changelogs/fragments/8215-add-docker-v2-protocol.yml Update changelog fragment to reviewers suggestion, add refrence to issue and pull request Co-authored-by: Felix Fontein <felix@fontein.de> * Add documentation about adding docker-v2 value in community general 8.6.0 --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
12b76ead29
commit
a5b2b5ce8c
4 changed files with 18 additions and 12 deletions
|
@ -79,7 +79,8 @@ options:
|
|||
protocol:
|
||||
description:
|
||||
- Type of client.
|
||||
choices: ['openid-connect', 'saml', 'wsfed']
|
||||
- The V(docker-v2) value was added in community.general 8.6.0.
|
||||
choices: ['openid-connect', 'saml', 'wsfed', 'docker-v2']
|
||||
type: str
|
||||
|
||||
protocol_mappers:
|
||||
|
@ -95,7 +96,7 @@ options:
|
|||
description:
|
||||
- This specifies for which protocol this protocol mapper.
|
||||
- is active.
|
||||
choices: ['openid-connect', 'saml', 'wsfed']
|
||||
choices: ['openid-connect', 'saml', 'wsfed', 'docker-v2']
|
||||
type: str
|
||||
|
||||
protocolMapper:
|
||||
|
@ -330,7 +331,7 @@ def main():
|
|||
protmapper_spec = dict(
|
||||
id=dict(type='str'),
|
||||
name=dict(type='str'),
|
||||
protocol=dict(type='str', choices=['openid-connect', 'saml', 'wsfed']),
|
||||
protocol=dict(type='str', choices=['openid-connect', 'saml', 'wsfed', 'docker-v2']),
|
||||
protocolMapper=dict(type='str'),
|
||||
config=dict(type='dict'),
|
||||
)
|
||||
|
@ -341,7 +342,7 @@ def main():
|
|||
id=dict(type='str'),
|
||||
name=dict(type='str'),
|
||||
description=dict(type='str'),
|
||||
protocol=dict(type='str', choices=['openid-connect', 'saml', 'wsfed']),
|
||||
protocol=dict(type='str', choices=['openid-connect', 'saml', 'wsfed', 'docker-v2']),
|
||||
attributes=dict(type='dict'),
|
||||
protocol_mappers=dict(type='list', elements='dict', options=protmapper_spec, aliases=['protocolMappers']),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue