From 40354757db45bc519282f410976b20cfc463f184 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Sat, 29 Aug 2015 19:26:22 +0200 Subject: Use update-cache instead of running apt-get update manually --- roles/apache/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/apache') diff --git a/roles/apache/tasks/main.yaml b/roles/apache/tasks/main.yaml index 40b021a..8d24f32 100644 --- a/roles/apache/tasks/main.yaml +++ b/roles/apache/tasks/main.yaml @@ -1,7 +1,7 @@ --- # Setup apache - name: Install apache - apt: name={{ item }} state=present + apt: name={{ item }} state=present update_cache=yes with_items: - apache2 - apache2-mpm-event -- cgit v1.2.1