From 11107fa6445bd3dc3ef55a3ad8ec0895f7ce3083 Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Wed, 23 Mar 2016 13:24:25 -0700 Subject: [PATCH] testnode/tasks/apt_systems.yml: always clean apt cache Intended as a work around for #15090 (apt-get update hash sum mismatch). Signed-off-by: Samuel Just --- roles/testnode/tasks/apt_systems.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/testnode/tasks/apt_systems.yml b/roles/testnode/tasks/apt_systems.yml index a0fabf4..53b6598 100644 --- a/roles/testnode/tasks/apt_systems.yml +++ b/roles/testnode/tasks/apt_systems.yml @@ -7,6 +7,13 @@ tags: - repos +# http://tracker.ceph.com/issues/15090 +# We don't know why it's happening, but something is corrupting the +# apt-cache. Let's try just blasting it each time. +- name: Blast the apt cache. + command: + sudo apt-get clean + - name: Update apt cache. apt: update_cache: yes -- 2.39.5