mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-04-05 10:20:27 -07:00
kc.sh build uses configured jdk
This commit is contained in:
parent
70834ccf13
commit
a45b18dc85
1 changed files with 3 additions and 0 deletions
|
@ -3,5 +3,8 @@
|
||||||
- name: "Rebuild {{ keycloak.service_name }} config"
|
- name: "Rebuild {{ keycloak.service_name }} config"
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
{{ keycloak.home }}/bin/kc.sh build
|
{{ keycloak.home }}/bin/kc.sh build
|
||||||
|
environment:
|
||||||
|
PATH: "{{ keycloak_quarkus_java_home | default(keycloak_quarkus_pkg_java_home, true) }}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||||
|
JAVA_HOME: "{{ keycloak_quarkus_java_home | default(keycloak_quarkus_pkg_java_home, true) }}"
|
||||||
become: true
|
become: true
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue