mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-08-13 01:24:30 -07:00
keycloak_quarkus: Add theme cache invalidation handler
This commit is contained in:
parent
0d0e52f9ff
commit
5f534ca566
3 changed files with 17 additions and 3 deletions
11
roles/keycloak_quarkus/tasks/invalidate_theme_cache.yml
Normal file
11
roles/keycloak_quarkus/tasks/invalidate_theme_cache.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
# From https://docs.redhat.com/en/documentation/red_hat_build_of_keycloak/24.0/html/server_developer_guide/themes#creating_a_theme:
|
||||
# If you want to manually delete the content of the themes cache,
|
||||
# you can do so by deleting the data/tmp/kc-gzip-cache directory of the server distribution
|
||||
# It can be useful for instance if you redeployed custom providers or custom themes without
|
||||
# disabling themes caching in the previous server executions.
|
||||
- name: "Delete {{ keycloak.service_name }} theme cache directory"
|
||||
ansible.builtin.file:
|
||||
path: "{{ keycloak.home }}/data/tmp/kc-gzip-cache"
|
||||
state: absent
|
||||
become: true
|
Loading…
Add table
Add a link
Reference in a new issue