diff --git a/roles/keycloak_realm/tasks/main.yml b/roles/keycloak_realm/tasks/main.yml index 8e27e0b..343b036 100644 --- a/roles/keycloak_realm/tasks/main.yml +++ b/roles/keycloak_realm/tasks/main.yml @@ -50,34 +50,15 @@ admin_url: "{{ item.admin_url | default('') }}" base_url: "{{ item.base_url | default('') }}" enabled: "{{ item.enabled | default(True) }}" - client_authenticator_type: "{{ item.client_authenticator_type | default(omit) }}" - secret: "{{ item.secret | default(omit) }}" redirect_uris: "{{ item.redirect_uris | default(omit) }}" web_origins: "{{ item.web_origins | default('+') }}" - not_before: "{{ item.not_before | default(omit) }}" bearer_only: "{{ item.bearer_only | default(omit) }}" - consent_required: "{{ item.consent_required | default(omit) }}" standard_flow_enabled: "{{ item.standard_flow_enabled | default(omit) }}" implicit_flow_enabled: "{{ item.implicit_flow_enabled | default(omit) }}" direct_access_grants_enabled: "{{ item.direct_access_grants_enabled | default(omit) }}" service_accounts_enabled: "{{ item.service_accounts_enabled | default(omit) }}" - authorization_services_enabled: "{{ item.authorization_services_enabled | default(omit) }}" public_client: "{{ item.public_client | default(False) }}" - frontchannel_logout: "{{ item.frontchannel_logout | default(omit) }}" protocol: "{{ item.protocol | default(omit) }}" - full_scope_allowed: "{{ item.full_scope_allowed | default(omit) }}" - node_re_registration_timeout: "{{ item.node_re_registration_timeout | default(omit) }}" - client_template: "{{ item.client_template | default(omit) }}" - use_template_config: "{{ item.use_template_config | default(omit) }}" - use_template_scope: "{{ item.use_template_scope | default(omit) }}" - use_template_mappers: "{{ item.use_template_mappers | default(omit) }}" - registered_nodes: "{{ item.registered_nodes | default(omit) }}" - registration_access_token: "{{ item.registration_access_token | default(omit) }}" - surrogate_auth_required: "{{ item.surrogate_auth_required | default(omit) }}" - default_roles: "{{ item.default_roles | default(omit) }}" - authentication_flow_binding_overrides: "{{ item.authentication_flow_binding_overrides | default(omit) }}" - protocol_mappers: "{{ item.protocol_mappers | default(omit) }}" - attributes: "{{ item.attributes | default(omit) }}" state: present register: create_client_result loop: "{{ keycloak_clients | flatten }}"