Added tasks custom for s2i2s theme

This commit is contained in:
Franca Debole 2021-04-28 09:55:41 +02:00
parent bceff2738c
commit c616f0939f
1 changed files with 17 additions and 0 deletions

17
tasks/keycloak-custom.yml Normal file
View File

@ -0,0 +1,17 @@
---
- block:
- name: Get the repository with the theme customizations
unarchive:
remote_src: yes
src: 'https://gitea-s2i2s.isti.cnr.it/Utilities/s2i2s-theme-master.tar.gz'
dest: '{{ keycloak_data_directory }}/themes/s2i2s-theme'
owner: root
group: root
- name: Link to the shared resources
file:
src: '{{ keycloak_data_directory }}/themes/s2i2s-theme
dest: '{{ keycloak_install_dir }}/{{ keycloak_distribution }}/themes/s2i2s-theme'
state: link
tags: [keycloak, keycloak_custom]