diff --git a/keycloak/scripts/ansible/roles/keycloak/tasks/build-conf.yml b/keycloak/scripts/ansible/roles/keycloak/tasks/build-conf.yml new file mode 100644 index 00000000..42659c43 --- /dev/null +++ b/keycloak/scripts/ansible/roles/keycloak/tasks/build-conf.yml @@ -0,0 +1,23 @@ +- name: Create directory for sunbird auth package config + file: + path: sunbird_auth_{{sunbird_auth_version}}.config + state: directory + mode: 0755 + +- name: Keycloak configuration XML file + template: + src:"roles/keycloak/templates/templates/standalone-ha.xml" + dest:"sunbird_auth_{{sunbird_auth_version}}.config/standalone-ha.xml" + mode:0750 + +- name: Postgresql Configuration- module.xml + template: + src:"roles/keycloak/templates/templates/module.xml.j2" + dest:"sunbird_auth_{{sunbird_auth_version}}.config/module.xml" + mode:0750 + +- name: SMS provider configuration file + template: + src:"roles/keycloak/templates/templates/Msg91Creds.json.j2" + dest:"sunbird_auth_{{sunbird_auth_version}}.config/Msg91Creds.json" + mode:0755