Skip to content

Commit

Permalink
Issue Sunbird-Lern#24 chore:Sunbird auth package build
Browse files Browse the repository at this point in the history
  • Loading branch information
ahghatol committed Dec 29, 2017
1 parent a051987 commit 44c7356
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions keycloak/scripts/ansible/roles/keycloak/tasks/deploy-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,22 @@
unarchive: src="/opt/sunbird_auth_{{sunbird_auth_version}}.config.zip" dest=/opt/ copy=no owner={{wildfly_user}} group={{wildfly_group}}

- name: Keycloak configuration XML file
template:
copy:
src: "/opt/sunbird_auth_{{sunbird_auth_version}}.config/standalone-ha.xml"
dest: "{{keycloak_home}}/standalone/configuration/standalone-ha.xml"
mode: 0750
owner: "{{wildfly_user}}"
group: "{{wildfly_group}}"
remote_src: yes

- name: Postgresql Configuration- module.xml
template:
src: "/opt/sunbird_auth_{{sunbird_auth_version}}.config/module.xml.j2"
copy:
src: "/opt/sunbird_auth_{{sunbird_auth_version}}.config/module.xml"
dest: "{{keycloak_home}}/modules/system/layers/keycloak/org/postgresql/main/module.xml"
mode: 0750
owner: "{{wildfly_user}}"
group: "{{wildfly_group}}"
remote_src: yes

- name: Create a directory for SMS provider configuration
file:
Expand All @@ -23,9 +29,10 @@
mode: 0755

- name: SMS provider configuration file
template:
src: "/opt/sunbird_auth_{{sunbird_auth_version}}.config/Msg91Creds.json.j2"
copy:
src: "/opt/sunbird_auth_{{sunbird_auth_version}}.config/Msg91Creds.json"
dest: "{{keycloak_home}}/bin/sms-provider/Msg91Creds.json"
owner: "{{wildfly_user}}"
group: "{{wildfly_group}}"
mode: 0755
remote_src: yes

0 comments on commit 44c7356

Please sign in to comment.