From c616f0939fabdfea406543ccb7808df540ab85a3 Mon Sep 17 00:00:00 2001 From: debfranca Date: Wed, 28 Apr 2021 09:55:41 +0200 Subject: [PATCH] Added tasks custom for s2i2s theme --- tasks/keycloak-custom.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tasks/keycloak-custom.yml diff --git a/tasks/keycloak-custom.yml b/tasks/keycloak-custom.yml new file mode 100644 index 0000000..e57e55b --- /dev/null +++ b/tasks/keycloak-custom.yml @@ -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]