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 44c7356 commit e413b58
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions keycloak/scripts/ansible/roles/keycloak/tasks/deploy-config.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
- name: Paste keycloak config package on server
copy: src="sunbird_auth_{{sunbird_auth_version}}.config.zip" dest="/opt/" force=no owner={{wildfly_user}} group={{wildfly_group}}
copy: src="sunbird_auth_{{sunbird_auth_version}}.config.zip" dest="/tmp/" force=no owner={{wildfly_user}} group={{wildfly_group}}

- name: extarct the folder
unarchive: src="/opt/sunbird_auth_{{sunbird_auth_version}}.config.zip" dest=/opt/ copy=no owner={{wildfly_user}} group={{wildfly_group}}
unarchive: src="/tmp/sunbird_auth_{{sunbird_auth_version}}.config.zip" dest=/tmp/ copy=no owner={{wildfly_user}} group={{wildfly_group}}

- name: Keycloak configuration XML file
copy:
src: "/opt/sunbird_auth_{{sunbird_auth_version}}.config/standalone-ha.xml"
src: "/tmp/sunbird_auth_{{sunbird_auth_version}}.config/standalone-ha.xml"
dest: "{{keycloak_home}}/standalone/configuration/standalone-ha.xml"
mode: 0750
owner: "{{wildfly_user}}"
Expand All @@ -15,7 +15,7 @@

- name: Postgresql Configuration- module.xml
copy:
src: "/opt/sunbird_auth_{{sunbird_auth_version}}.config/module.xml"
src: "/tmp/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}}"
Expand All @@ -30,7 +30,7 @@

- name: SMS provider configuration file
copy:
src: "/opt/sunbird_auth_{{sunbird_auth_version}}.config/Msg91Creds.json"
src: "/tmp/sunbird_auth_{{sunbird_auth_version}}.config/Msg91Creds.json"
dest: "{{keycloak_home}}/bin/sms-provider/Msg91Creds.json"
owner: "{{wildfly_user}}"
group: "{{wildfly_group}}"
Expand Down

0 comments on commit e413b58

Please sign in to comment.