]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
testnode/tasks/apt_systems.yml: always clean apt cache
authorSamuel Just <sjust@redhat.com>
Wed, 23 Mar 2016 20:24:25 +0000 (13:24 -0700)
committerSamuel Just <sjust@redhat.com>
Mon, 28 Mar 2016 21:55:32 +0000 (14:55 -0700)
Intended as a work around for #15090 (apt-get update
hash sum mismatch).

Signed-off-by: Samuel Just <sjust@redhat.com>
roles/testnode/tasks/apt_systems.yml

index a0fabf499b9d88c63c1ecd768534397ed94ff5d8..53b659892f8781e2eb22eaf1c0fc87059da5249c 100644 (file)
@@ -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