library/roles/rstudio-server: get_url does not work with the rstudio webserver. Use wget.

This commit is contained in:
Andrea Dell'Amico 2017-02-10 14:02:23 +01:00
parent fd3ff8f4eb
commit 63837eac95
2 changed files with 5 additions and 2 deletions

View File

@ -4,7 +4,10 @@
apt: pkg=gdebi-core state=latest update_cache=yes cache_valid_time=1800 apt: pkg=gdebi-core state=latest update_cache=yes cache_valid_time=1800
- name: Download the rstudio server deb package - name: Download the rstudio server deb package
get_url: url={{ rstudio_download_url }} dest=/srv/{{ rstudio_file }} # get_url: url={{ rstudio_download_url }} dest=/srv/{{ rstudio_file }}
shell: cd /srv ; wget {{ rstudio_download_url }}
args:
creates: /srv/{{ rstudio_file }}
register: rstudio_download register: rstudio_download
ignore_errors: True ignore_errors: True

View File

@ -1,7 +1,7 @@
--- ---
gcube_repository: 'gcube-staging' gcube_repository: 'gcube-staging'
r_connector_install: False r_connector_install: False
r_connector_ver: 2.1.1-4.2.0-135146 r_connector_ver: 2.1.1-4.2.1-135146
r_connector_name: r-connector r_connector_name: r-connector
r_connector_filename: '{{ r_connector_name }}-{{ r_connector_ver }}.war' r_connector_filename: '{{ r_connector_name }}-{{ r_connector_ver }}.war'
r_connector_url: 'http://maven.research-infrastructures.eu/nexus/content/repositories/{{ gcube_repository }}/org/gcube/data/analysis/{{ r_connector_name }}/{{ r_connector_ver}}/{{ r_connector_filename }}' r_connector_url: 'http://maven.research-infrastructures.eu/nexus/content/repositories/{{ gcube_repository }}/org/gcube/data/analysis/{{ r_connector_name }}/{{ r_connector_ver}}/{{ r_connector_filename }}'