r_connector: do not put the war file inside tomcat/webapps.

This commit is contained in:
Andrea Dell'Amico 2017-11-24 16:45:44 +01:00
parent b8f7bc795a
commit 045ebf9416
1 changed files with 1 additions and 4 deletions

View File

@ -1,6 +1,6 @@
---
- block:
- name: Remove the installed R connector before upgrading
- name: Remove the installed R connector
file: dest={{ item }} state=absent
with_items:
- '{{ smartgears_instance_path }}/webapps/{{ r_connector_name }}'
@ -39,9 +39,6 @@
file: dest={{ smartgears_instance_path }}/webapps/{{ r_connector_name }} state=directory
when: ( r_connector_download | changed )
- name: Copy the R connector war file into the webapps directory
copy: src={{ smartgears_downloads_dir }}/{{ r_connector_filename }} dest={{ smartgears_instance_path }}/webapps/{{ r_connector_name }}.{{ r_connector_extension }} remote_src=yes force=yes
- name: Unarchive the R connector war file
unarchive: copy=no src={{ smartgears_downloads_dir }}/{{ r_connector_filename }} dest={{ smartgears_instance_path }}/webapps/{{ r_connector_name }}
args: