forked from ISTI-ansible-roles/ansible-roles
added maven task for downloading the fuse jar
This commit is contained in:
parent
db911a6a63
commit
429bd25850
|
@ -73,6 +73,22 @@
|
|||
become_user: root
|
||||
file: dest={{ r_connector_rprofile_base_dir }} owner={{ d4science_user }} group={{ d4science_user }} state=directory
|
||||
|
||||
- name: Download the fuse jar-with-dependencies
|
||||
become_user: root
|
||||
get_url:
|
||||
url: '{{ fuse_integration_jar_url }}'
|
||||
dest: /usr/local/lib/{{ fuse_integration_file }}
|
||||
force: yes
|
||||
mode: 0555
|
||||
|
||||
- name: Download the fuse jar-with-dependencies
|
||||
maven_artifact: artifact_id={{ fuse_integration_name }} version={{ fuse_integration_version | default(omit) }} group_id={{ fuse_integration_group_id }} extension={{ fuse_integration_extension | default('jar') }} repository_url={{ smartgears_global_base_url }} classifier={{ fuse_integration_classifier }} dest=/usr/local/lib/{{ fuse_integration_file }
|
||||
|
||||
# shell: cd /usr/local/lib/ ; wget http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-snapshots/org/gcube/data-access/sh-fuse-integration/1.0.0-SNAPSHOT/sh-fuse-integration-1.0.0-20190312.161452-1-jar-with-dependencies.jar
|
||||
# args:
|
||||
# creates: /usr/local/lib/sh-fuse-integration-jar-with-dependencies.jar
|
||||
|
||||
|
||||
- name: Get the svn repository that provides the .Rprofile
|
||||
subversion: repo={{ r_connector_rprofile_svn_url }} dest={{ r_connector_rprofile_path }}
|
||||
|
||||
|
@ -84,6 +100,14 @@
|
|||
when: r_connector_install
|
||||
tags: [ 'smartgears', 'r_connector', 'tomcat' ]
|
||||
|
||||
- block:
|
||||
# Additional fuse packages
|
||||
- name: Install the libfuse package
|
||||
apt: pkg=libfuse2 state=present update_cache=yes cache_valid_time=3600
|
||||
|
||||
- name: Install the fuse package
|
||||
apt: pkg=fuse state=present update_cache=yes cache_valid_time=3600
|
||||
|
||||
- block:
|
||||
- name: Reconfigure the Java environment for R
|
||||
shell: export JAVA_HOME=/usr/lib/jvm/java-8-oracle ; export J2SDKDIR=/usr/lib/jvm/java-8-oracle ; export J2REDIR=/usr/lib/jvm/java-8-oracle/jre ; R CMD javareconf
|
||||
|
|
Loading…
Reference in New Issue