Basic role that installs the smaph catalina context.
This commit is contained in:
parent
d9dfa8ef23
commit
c319a2ca89
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
# smaph_service_token: Use a vault file
|
||||
smaph_db_base_dir: /var/lib/smaph_data
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
- block:
|
||||
- name: Install the catalina configuration needed by smaph
|
||||
template: src=catalina-smaph.xml.j2 dest={{ smartgears_instance_path }}/conf/Catalina/localhost/smaph.xml
|
||||
|
||||
tags: [ 'smaph', 'tomcat' ]
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<Context>
|
||||
<WatchedResource>WEB-INF/web.xml</WatchedResource>
|
||||
<Parameter name="it.unipi.di.acube.smaph.wat-gcube-token" value="{{ smaph_service_token }}" override="false"/>
|
||||
<Parameter name="it.unipi.di.acube.smaph.wiki-to-freebase-db" value="{{ smaph_db_base_dir }}/freebase.db" override="false"/>
|
||||
<Parameter name="it.unipi.di.acube.smaph.entity-to-anchors-db" value="{{ smaph_db_base_dir }}/e2a.db" override="false"/>
|
||||
</Context>
|
||||
|
Loading…
Reference in New Issue