forked from ISTI-ansible-roles/ansible-roles
d4science-ghn-cluster/roles/dataminer_app: Various fixes. Workaround for a broken jar. Upgrades are supported now.
This commit is contained in:
parent
6ff48d01a7
commit
dd3c5e3a16
|
@ -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
|
||||
|
|
|
@ -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' ]
|
||||
|
||||
|
|
Loading…
Reference in New Issue