ansible-role-keycloak/tasks/keycloak-providers.yml

20 lines
645 B
YAML
Raw Normal View History

2022-09-23 13:52:06 +02:00
---
- 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