2022-09-23 13:52:06 +02:00
|
|
|
---
|
2024-03-29 18:20:27 +01:00
|
|
|
- name: keycloak-providers | Get the keycloak providers
|
2024-04-02 14:18:40 +02:00
|
|
|
community.general.maven_artifact:
|
2022-09-23 13:52:06 +02:00
|
|
|
artifact_id: "{{ item.maven_id }}"
|
2022-09-24 18:29:06 +02:00
|
|
|
version: "{{ item.maven_version | default('latest') }}"
|
|
|
|
group_id: "{{ item.maven_group_id }}"
|
|
|
|
extension: "{{ item.maven_extension | default('jar') }}"
|
2022-09-23 13:52:06 +02:00
|
|
|
repository_url: "{{ item.maven_repo_url }}"
|
2022-09-24 18:29:06 +02:00
|
|
|
dest: "{{ keycloak_providers_directory }}/{{ item.name }}.{{ item.maven_extension | default('jar') }}"
|
2022-09-23 13:52:06 +02:00
|
|
|
verify_checksum: always
|
2024-03-29 18:20:27 +01:00
|
|
|
mode: "0644"
|
2022-09-23 13:52:06 +02:00
|
|
|
loop: '{{ keycloak_remote_providers }}'
|
2022-09-24 18:29:06 +02:00
|
|
|
when: item.maven_extension is not defined or item.maven_extension != "ear"
|
2022-09-24 18:26:21 +02:00
|
|
|
notify: Restart Keycloak
|
2022-09-23 13:52:06 +02:00
|
|
|
|
|
|
|
tags:
|
|
|
|
- keycloak
|
|
|
|
- keycloak_providers
|
|
|
|
- keycloak_providers_jar
|