diff --git a/smartgears/r_connector/tasks/main.yml b/smartgears/r_connector/tasks/main.yml index 1ed477f..83760d3 100644 --- a/smartgears/r_connector/tasks/main.yml +++ b/smartgears/r_connector/tasks/main.yml @@ -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: