From: Samuel Just Date: Wed, 23 Mar 2016 20:24:25 +0000 (-0700) Subject: testnode/tasks/apt_systems.yml: always clean apt cache X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=11107fa6445bd3dc3ef55a3ad8ec0895f7ce3083;p=ceph-cm-ansible.git 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 --- 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