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

20 lines
681 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 }}"
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
mode: 0644
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