library/roles/R/tasks/main.yml: Put packages on hold when we choose to install specific ones.

d4science-ghn-cluster/group_vars/dataminer_dev: Use dataminer release 1.0.0-3.9.0 and not the snapshot
d4science-ghn-cluster/roles/dataminer_app/templates/pom.xml.j2: Fix the pom to download the correct dependencies.
This commit is contained in:
Andrea Dell'Amico 2015-12-09 15:53:32 +01:00
parent facd52e43d
commit b6370fc22b
3 changed files with 11 additions and 1 deletions

View File

@ -36,6 +36,9 @@ r_source_plugins_dest_dir: /var/cache/R
r_base_packages_list: r_base_packages_list:
- r-base - r-base
# Same list as above, but without version numbers.
#r_base_packages_hold_list:
r_plugins_packages_list: r_plugins_packages_list:
- jags - jags
- r-cran-rjags - r-cran-rjags

View File

@ -12,6 +12,13 @@
with_items: r_base_packages_list with_items: r_base_packages_list
tags: [ 'r_software', 'r_pkg' ] tags: [ 'r_software', 'r_pkg' ]
- name: When we install specific R deb packages, put them on hold
shell: apt-mark hold {{ item }}
with_items: r_base_packages_hold_list
when: r_base_specific_version
ignore_errors: True
tags: [ 'r_software', 'r_pkg', 'r_pkg_hold' ]
- name: Install the R additional modules from the deb repo - name: Install the R additional modules from the deb repo
apt: pkg={{ item }} state={{ r_packages_state }} apt: pkg={{ item }} state={{ r_packages_state }}
with_items: r_plugins_packages_list with_items: r_plugins_packages_list

View File

@ -1,4 +1,4 @@
--- ---
- name: Fix debian/ubuntu broke behaviour. The su pam config does not load pam_limits - name: Fix debian/ubuntu broken behaviour. The su pam config does not load pam_limits
lineinfile: dest=/etc/pam.d/su line="session required pam_limits.so" insertafter="^#\ \(Replaces\ the\ use\ of\ /etc/limits.*$" lineinfile: dest=/etc/pam.d/su line="session required pam_limits.so" insertafter="^#\ \(Replaces\ the\ use\ of\ /etc/limits.*$"
tags: [ 'su', 'pam_limits'] tags: [ 'su', 'pam_limits']