mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-07-30 16:41:30 -07:00
Client Creation Enhancement
This commit is contained in:
parent
18e002bf27
commit
8da1483354
2 changed files with 43 additions and 25 deletions
|
@ -3,10 +3,15 @@
|
|||
name: "{{ item }}"
|
||||
realm: "{{ client.realm }}"
|
||||
client_id: "{{ client.name }}"
|
||||
description: "{{ item.description | default(omit) }}"
|
||||
auth_client_id: "{{ keycloak_auth_client }}"
|
||||
auth_keycloak_url: "{{ keycloak_url }}/auth"
|
||||
auth_realm: "{{ keycloak_auth_realm }}"
|
||||
auth_username: "{{ keycloak_admin_user }}"
|
||||
auth_password: "{{ keycloak_admin_password }}"
|
||||
attributes: "{{ item.attributes | default(omit) }}"
|
||||
token: "{{ item.token | default(omit) }}"
|
||||
validate_certs: "{{ item.validate_certs | default(omit) }}"
|
||||
state: present
|
||||
loop: "{{ client.roles | flatten }}"
|
||||
when: "'roles' in client"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue