Skip to content

Commit

Permalink
Apt cache valid optimization
Browse files Browse the repository at this point in the history
And consistency changes
  • Loading branch information
tersmitten committed Jul 30, 2015
1 parent 5814ef0 commit c488c1a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ python: "2.7"

env:
- ANSIBLE_VERSION=latest
- ANSIBLE_VERSION=1.9.2
- ANSIBLE_VERSION=1.9.1
- ANSIBLE_VERSION=1.9.0.1
- ANSIBLE_VERSION=1.8.4
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ None
---
- hosts: all
roles:
- r
- r
```
#### License
Expand Down
10 changes: 5 additions & 5 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ galaxy_info:
license: MIT
min_ansible_version: 1.6
platforms:
- name: Ubuntu
versions:
- precise
- trusty
- name: Ubuntu
versions:
- precise
- trusty
categories:
- system
- system
dependencies: []
2 changes: 2 additions & 0 deletions tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
apt:
name: "{{ item }}"
state: latest
update_cache: true
cache_valid_time: 3600
with_items: r_dependencies
when: "item | trim != ''"
tags: [configuration, r, r-dependencies]
Expand Down

0 comments on commit c488c1a

Please sign in to comment.