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]