forked from ISTI-ansible-roles/ansible-roles
library/roles/R/tasks/r-installation.yml: Do not update the apt cache if it's already up to date.
This commit is contained in:
parent
0a17ddc9f3
commit
a15f8b5a0d
|
@ -38,7 +38,7 @@
|
|||
tags: [ 'r_software', 'r_profile', 'r_pkg' ]
|
||||
|
||||
- name: Install some packages needed by R packages when installed from source
|
||||
apt: pkg={{ item }} state={{ r_packages_state }} update_cache=yes force=yes
|
||||
apt: pkg={{ item }} state={{ r_packages_state }} update_cache=yes force=yes cache_valid_time=3600
|
||||
with_items: '{{ r_distribution_required_packages | default([]) }}'
|
||||
tags: [ 'r_software', 'r_pkg', 'r_deps' ]
|
||||
|
||||
|
|
Loading…
Reference in New Issue