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:
Andrea Dell'Amico 2017-06-19 14:45:35 +02:00
parent 0a17ddc9f3
commit a15f8b5a0d
1 changed files with 1 additions and 1 deletions

View File

@ -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' ]