From fc04ef06a4341e316faeb747e151a81d48f27f10 Mon Sep 17 00:00:00 2001 From: Amol Ghatol Date: Thu, 22 Feb 2018 16:46:31 +0530 Subject: [PATCH] Issue #28 chore:Show time in hour in password reset email- Overridden email theme --- .../ansible/roles/keycloak/tasks/build.yml | 27 ++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/keycloak/scripts/ansible/roles/keycloak/tasks/build.yml b/keycloak/scripts/ansible/roles/keycloak/tasks/build.yml index c19490df..00f30642 100644 --- a/keycloak/scripts/ansible/roles/keycloak/tasks/build.yml +++ b/keycloak/scripts/ansible/roles/keycloak/tasks/build.yml @@ -16,6 +16,7 @@ state: directory mode: 0755 + - name: Get the postgresql driver get_url: url={{postgresql_driver_src}} dest="sunbird_auth_{{sunbird_auth_version}}/modules/system/layers/keycloak/org/postgresql/main/" force=no @@ -44,11 +45,35 @@ mode: 0755 - name: Copy Sunbird login theme - copy: src="artifacts/sunbird/" dest="sunbird_auth_{{sunbird_auth_version}}/themes/sunbird/login/" force="yes" + copy: src="artifacts/sunbird/login/" dest="sunbird_auth_{{sunbird_auth_version}}/themes/sunbird/login/" force="yes" - name: Copy Custom Validation theme html to sunbird login theme copy: src="../../sms-provider/templates/" dest="sunbird_auth_{{sunbird_auth_version}}/themes/sunbird/login/" force="yes" +- name: Create directory for sunbird email theme html folder + file: + path: sunbird_auth_{{sunbird_auth_version}}/themes/sunbird/email/html + state: directory + recurse: yes + mode: 0755 + +- name: Create directory for sunbird email theme messages folder + file: + path: sunbird_auth_{{sunbird_auth_version}}/themes/sunbird/email/messages + state: directory + recurse: yes + mode: 0755 + +- name: Create directory for sunbird email theme text folder + file: + path: sunbird_auth_{{sunbird_auth_version}}/themes/sunbird/email/text + state: directory + recurse: yes + mode: 0755 + +- name: Copy Sunbird email theme + copy: src="artifacts/sunbird/email" dest="sunbird_auth_{{sunbird_auth_version}}/themes/sunbird/" force="yes" + - name: Keycloak configuration XML file template: src: "roles/keycloak/templates/standalone-ha.xml"