Skip to content

Commit d7365df

Browse files
committed
Make sure apt caches are updated more frequently for deployments and elk tests.
1 parent a11484d commit d7365df

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

tests/deployments.yml

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
---
2+
- hosts: all
3+
4+
pre_tasks:
5+
- name: Update the apt cache.
6+
apt: update_cache=yes cache_valid_time=600
7+
28
# Deployments test.
39
- import_playbook: ../deployments/playbooks/provision.yml
410
- import_playbook: ../deployments/playbooks/deploy.yml

tests/elk.yml

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
---
22
- hosts: all
33

4+
pre_tasks:
5+
- name: Update the apt cache.
6+
apt: update_cache=yes cache_valid_time=600
7+
48
tasks:
59
- add_host:
610
name: localhost

0 commit comments

Comments
 (0)