From 0afcbfa15d9899897f1b8736f8b71cf993bd065d Mon Sep 17 00:00:00 2001 From: Robert Duffner Date: Tue, 3 Jan 2017 16:11:43 -0800 Subject: [PATCH] Update cache when installing AuFS Driver --- tasks/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 271fa7b..9ddbeff 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -30,7 +30,11 @@ changed_when: false - name: Install linux-image-extra-* packages to enable AuFS driver - apt: pkg={{ item }} state=present + apt: + pkg: "{{ item }}" + state: present + update_cache: yes + cache_valid_time: "{{ docker_apt_cache_valid_time }}" with_items: - linux-image-extra-{{ uname_output.stdout }} - linux-image-extra-virtual