add initial support for templating cache-ispn.xml

This commit is contained in:
Helmut Wolf 2024-01-17 17:22:06 +01:00
commit 63f83d7744
2 changed files with 96 additions and 0 deletions

View file

@ -43,6 +43,17 @@
notify:
- restart keycloak
- name: "Configure infinispan config for keycloak service"
ansible.builtin.template:
src: cache-ispn.xml
dest: "{{ keycloak.home }}/conf/cache-ispn.xml"
owner: "{{ keycloak.service_user }}"
group: "{{ keycloak.service_group }}"
mode: 0644
become: true
notify:
- restart keycloak
- name: Ensure logdirectory exists
ansible.builtin.file:
state: directory