diff --git a/smaph/defaults/main.yml b/smaph/defaults/main.yml new file mode 100644 index 00000000..f29a89f5 --- /dev/null +++ b/smaph/defaults/main.yml @@ -0,0 +1,3 @@ +--- +# smaph_service_token: Use a vault file +smaph_db_base_dir: /var/lib/smaph_data diff --git a/smaph/tasks/main.yml b/smaph/tasks/main.yml new file mode 100644 index 00000000..87b963df --- /dev/null +++ b/smaph/tasks/main.yml @@ -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' ] \ No newline at end of file diff --git a/smaph/templates/catalina-smaph.xml.j2 b/smaph/templates/catalina-smaph.xml.j2 new file mode 100644 index 00000000..dbec3ad8 --- /dev/null +++ b/smaph/templates/catalina-smaph.xml.j2 @@ -0,0 +1,9 @@ + + + + WEB-INF/web.xml + + + + +