forked from ISTI-ansible-roles/ansible-roles
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:
parent
facd52e43d
commit
b6370fc22b
|
@ -36,6 +36,9 @@ r_source_plugins_dest_dir: /var/cache/R
|
|||
r_base_packages_list:
|
||||
- r-base
|
||||
|
||||
# Same list as above, but without version numbers.
|
||||
#r_base_packages_hold_list:
|
||||
|
||||
r_plugins_packages_list:
|
||||
- jags
|
||||
- r-cran-rjags
|
||||
|
|
|
@ -12,6 +12,13 @@
|
|||
with_items: r_base_packages_list
|
||||
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
|
||||
apt: pkg={{ item }} state={{ r_packages_state }}
|
||||
with_items: r_plugins_packages_list
|
||||
|
|
|
@ -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.*$"
|
||||
tags: [ 'su', 'pam_limits']
|
||||
|
|
Loading…
Reference in New Issue