Skip to content

Commit b10d175

Browse files
author
Bryan Kendall
committed
set cache valid time for apt
1 parent 735b19a commit b10d175

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • ansible/roles/consul_value/tasks

ansible/roles/consul_value/tasks/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
---
22
- name: make sure httplib2 is installed
33
sudo: yes
4-
apt: package=python-httplib2 state=present
4+
apt:
5+
package=python-httplib2
6+
state=present
7+
update_cache=yes
8+
cache_valid_time=604800
59

610
- name: put values into consul
711
run_once: true

0 commit comments

Comments
 (0)