keycloak_quarkus: add selected java to PATH in systemd unit (#34)
parent
d5a63f55f9
commit
8454f5c341
|
@ -5,6 +5,7 @@ exclude_paths:
|
||||||
- molecule/
|
- molecule/
|
||||||
- .ansible-lint
|
- .ansible-lint
|
||||||
- .yamllint
|
- .yamllint
|
||||||
|
- meta/
|
||||||
|
|
||||||
rulesdir:
|
rulesdir:
|
||||||
- ../../ansible-lint-custom-rules/rules/
|
- ../../ansible-lint-custom-rules/rules/
|
||||||
|
|
|
@ -46,4 +46,3 @@ EOF
|
||||||
# run the playbook
|
# run the playbook
|
||||||
ansible-playbook -i inventory playbooks/keycloak.yml
|
ansible-playbook -i inventory playbooks/keycloak.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -2,10 +2,6 @@
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
hosts: all
|
hosts: all
|
||||||
tasks:
|
tasks:
|
||||||
- name: Disable beta repos
|
|
||||||
ansible.builtin.command: yum config-manager --disable '*beta*'
|
|
||||||
ignore_errors: yes
|
|
||||||
|
|
||||||
- name: Install sudo
|
- name: Install sudo
|
||||||
ansible.builtin.yum:
|
ansible.builtin.yum:
|
||||||
name: sudo
|
name: sudo
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
# {{ ansible_managed }}
|
# {{ ansible_managed }}
|
||||||
KEYCLOAK_ADMIN={{ keycloak_quarkus_admin_user }}
|
KEYCLOAK_ADMIN={{ keycloak_quarkus_admin_user }}
|
||||||
KEYCLOAK_ADMIN_PASSWORD='{{ keycloak_quarkus_admin_pass }}'
|
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) }}
|
JAVA_HOME={{ keycloak_java_home | default(keycloak_rpm_java_home, true) }}
|
||||||
|
|
Loading…
Reference in New Issue