Skip to content

Commit 3c562e0

Browse files
committed
update apt cache before once before running the ansible roles
1 parent e9c52bf commit 3c562e0

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

site.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
---
22

3+
- hosts: localhost
4+
tasks:
5+
- name: update apt cache before running any of the ansible roles
6+
apt:
7+
update_cache: yes
8+
cache_valid_time: 3600
9+
310
- hosts: localhost
411
roles:
512
- { role: readme, tags: "readme" }

0 commit comments

Comments
 (0)