forked from ISTI-ansible-roles/ansible-roles
library/roles/rstudio-server: get_url does not work with the rstudio webserver. Use wget.
This commit is contained in:
parent
fd3ff8f4eb
commit
63837eac95
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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 }}'
|
||||||
|
|
Loading…
Reference in New Issue