forked from ISTI-ansible-roles/ansible-roles
r_connector: do not put the war file inside tomcat/webapps.
This commit is contained in:
parent
b8f7bc795a
commit
045ebf9416
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue