Merge pull request #303 from fxwgr/main
Some checks failed
CI / ci (push) Has been cancelled
Documentation / docs (push) Has been cancelled

Allow to install provider jars from remote paths
This commit is contained in:
Guido Grazioli 2025-07-04 12:47:10 +02:00 committed by GitHub
commit 0099f1cf07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -221,6 +221,7 @@ keycloak_quarkus_providers:
restart: true # optional, whether to rebuild config and restart the service after deploying, default true
url: https://.../.../custom_spi.jar # optional, url for download via http
local_path: my_theme_spi.jar # optional, path on local controller for SPI to be uploaded
remote: true # optional, whether to copy from localhost or remotely, see https://docs.ansible.com/ansible/latest/collections/ansible/builtin/copy_module.html#parameter-remote_src, default false
maven: # optional, for download using maven
repository_url: https://maven.pkg.github.com/OWNER/REPOSITORY # optional, maven repo url
group_id: my.group # optional, maven group id

View file

@ -280,6 +280,7 @@
owner: "{{ keycloak.service_user }}"
group: "{{ keycloak.service_group }}"
mode: '0640'
remote_src: "{{ item.remote | default(false) }}"
become: true
loop: "{{ keycloak_quarkus_providers }}"
when: item.local_path is defined