You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
539 B
YAML
16 lines
539 B
YAML
---
|
|
- name: "Create keycloak client roles"
|
|
community.general.keycloak_role:
|
|
auth_realm: "master"
|
|
auth_client_id: "admin-cli"
|
|
auth_username: "{{ keycloak_admin_username }}"
|
|
auth_password: "{{ keycloak_admin_password }}"
|
|
auth_keycloak_url: "{{ shared_service_url_keycloak }}/auth"
|
|
state: present
|
|
name: "{{ role }}"
|
|
realm: "{{ current_realm_name }}"
|
|
client_id: "{{ client.clientId }}"
|
|
with_items: "{{ current_realm_clients | default([]) }}"
|
|
loop_control:
|
|
loop_var: client
|
|
delegate_to: localhost |