mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-07-30 08:31:39 -07:00
feat: add a destination variable for the log link
docs: argument specs for the keycloak_quarkus_log_target docs: added parameter to the roles README fix: role variable is keycloak_log_target and not keycloak_quarkus_log_target
This commit is contained in:
parent
12147b4769
commit
a538828f0d
12 changed files with 80 additions and 3 deletions
|
@ -118,7 +118,7 @@ Role Defaults
|
|||
|`keycloak_db_background_validation_millis`| How frequenly the connection pool is validated in the background | `10000` if background validation enabled |
|
||||
|`keycloak_db_background_validate_on_match` | Enable validate on match for database connections | `False` |
|
||||
|`keycloak_frontend_url` | frontend URL for keycloak endpoint | `http://localhost:8080/auth/` |
|
||||
|
||||
|`keycloak_log_target`| Set the destination of the keycloak log folder link | `/var/log/keycloak` |
|
||||
|
||||
|
||||
Role Variables
|
||||
|
|
|
@ -115,3 +115,6 @@ keycloak_default_jdbc:
|
|||
version: 12.2.0
|
||||
# role specific vars
|
||||
keycloak_no_log: True
|
||||
|
||||
### logging configuration
|
||||
keycloak_log_target: /var/log/keycloak
|
||||
|
|
|
@ -360,6 +360,10 @@ argument_specs:
|
|||
required: False
|
||||
description: "Override the subnet match for jgroups cluster formation; if not defined, it will be inferred from local machine route configuration"
|
||||
type: "str"
|
||||
keycloak_log_target:
|
||||
default: '/var/log/keycloak'
|
||||
type: "str"
|
||||
description: "Set the destination of the keycloak log folder link"
|
||||
downstream:
|
||||
options:
|
||||
sso_version:
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
ansible.builtin.file:
|
||||
state: link
|
||||
src: "{{ keycloak_jboss_home }}/standalone/log"
|
||||
dest: /var/log/keycloak
|
||||
dest: "{{ keycloak_log_target }}"
|
||||
become: yes
|
||||
|
||||
- name: Set admin credentials and restart if not already created
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue