20 lines
645 B
YAML
20 lines
645 B
YAML
|
---
|
||
|
- name: Get the keycloak providers
|
||
|
maven_artifact:
|
||
|
artifact_id: "{{ item.maven_id }}"
|
||
|
version: "{{ item.version | default('latest') }}"
|
||
|
group_id: "{{ item.group_id }}"
|
||
|
extension: "{{ item.extension | default('jar') }}"
|
||
|
repository_url: "{{ item.maven_repo_url }}"
|
||
|
dest: "{{ keycloak_providers_directory }}/{{ item.name }}.{{ item.extension | default('jar') }}"
|
||
|
verify_checksum: always
|
||
|
mode: 0644
|
||
|
loop: '{{ keycloak_remote_providers }}'
|
||
|
when: item.extension is not defined or item.extension != "ear"
|
||
|
notify: Restart keycloak
|
||
|
|
||
|
tags:
|
||
|
- keycloak
|
||
|
- keycloak_providers
|
||
|
- keycloak_providers_jar
|