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 26, 2017
1 parent 9a0481c commit 3d879d7
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
25 changes: 25 additions & 0 deletions keycloak/scripts/ansible/roles/keycloak/tasks/deploy-conf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
- name: Keycloak configuration XML file
template:
src:"roles/keycloak/templates/templates/standalone-ha.xml"
dest:"{{keycloak_home}}/standalone/configuration/standalone-ha.xml"
mode:0750

- name: Postgresql Configuration- module.xml
template:
src:"roles/keycloak/templates/templates/module.xml.j2"
dest:"{{keycloak_home}}/modules/system/layers/keycloak/org/postgresql/main/module.xml"
mode:0750

- name: Create directory for sms provider configuration
file:
path:"{{keycloak_home}}/bin/sms-provider"
state:directory
mode:0755

- name: SMS provider configuration file
template:
src:"roles/keycloak/templates/templates/Msg91Creds.json.j2"
dest:"{{keycloak_home}}/bin/sms-provider/Msg91Creds.json"
owner:"{{wildfly_user}}"
group:"{{wildfly_group}}"
mode:0755
4 changes: 4 additions & 0 deletions keycloak/scripts/ansible/roles/keycloak/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@
- include: deploy.yml
tags:
- deploy

- include: deploy-conf.yml
tags:
- deploy-conf

0 comments on commit 3d879d7

Please sign in to comment.