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:
|
- block:
|
||||||
- name: Remove the installed R connector before upgrading
|
- name: Remove the installed R connector
|
||||||
file: dest={{ item }} state=absent
|
file: dest={{ item }} state=absent
|
||||||
with_items:
|
with_items:
|
||||||
- '{{ smartgears_instance_path }}/webapps/{{ r_connector_name }}'
|
- '{{ smartgears_instance_path }}/webapps/{{ r_connector_name }}'
|
||||||
|
@ -39,9 +39,6 @@
|
||||||
file: dest={{ smartgears_instance_path }}/webapps/{{ r_connector_name }} state=directory
|
file: dest={{ smartgears_instance_path }}/webapps/{{ r_connector_name }} state=directory
|
||||||
when: ( r_connector_download | changed )
|
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
|
- 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 }}
|
unarchive: copy=no src={{ smartgears_downloads_dir }}/{{ r_connector_filename }} dest={{ smartgears_instance_path }}/webapps/{{ r_connector_name }}
|
||||||
args:
|
args:
|
||||||
|
|
Loading…
Reference in New Issue