d4science-ghn-cluster/roles/dataminer_app: Various fixes. Workaround for a broken jar. Upgrades are supported now.

This commit is contained in:
Andrea Dell'Amico 2016-02-18 02:14:31 +01:00
parent 6ff48d01a7
commit dd3c5e3a16
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ for package in r-base r-base-core r-base-dev r-base-html r-cran-boot r-cran-clas
# Remove the old r packages
apt-get purge r-base-* r-cran-* -y --force-yes
apt-get autoremove -y
apt-get update
# Remove the CRAN packages
rm -fr /usr/lib/R/site-library /usr/local/lib/R/site-library

View File

@ -15,7 +15,7 @@
tags: [ 'r_software', 'r_pkg', 'r_pkg_hold' ]
- name: Install the R base packages.
apt: pkg={{ item }} state={{ r_packages_main_state }} force=yes
apt: pkg={{ item }} state={{ r_packages_main_state }} force=yes update_cache=yes cache_valid_time=3600
with_items: r_base_packages_list
tags: [ 'r_software', 'r_pkg' ]