keycloak_quarkus: add selected java to PATH in systemd unit (#34)

main
Guido Grazioli 2022-05-31 10:43:55 +02:00 committed by GitHub
parent d5a63f55f9
commit 8454f5c341
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 2 additions and 5 deletions

View File

@ -5,6 +5,7 @@ exclude_paths:
- molecule/
- .ansible-lint
- .yamllint
- meta/
rulesdir:
- ../../ansible-lint-custom-rules/rules/

View File

@ -46,4 +46,3 @@ EOF
# run the playbook
ansible-playbook -i inventory playbooks/keycloak.yml
```

View File

@ -2,10 +2,6 @@
- name: Prepare
hosts: all
tasks:
- name: Disable beta repos
ansible.builtin.command: yum config-manager --disable '*beta*'
ignore_errors: yes
- name: Install sudo
ansible.builtin.yum:
name: sudo

View File

@ -1,4 +1,5 @@
# {{ ansible_managed }}
KEYCLOAK_ADMIN={{ keycloak_quarkus_admin_user }}
KEYCLOAK_ADMIN_PASSWORD='{{ keycloak_quarkus_admin_pass }}'
PATH={{ keycloak_java_home | default(keycloak_rpm_java_home, true) }}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
JAVA_HOME={{ keycloak_java_home | default(keycloak_rpm_java_home, true) }}