]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
common: Clean apt cache before updating it 312/head
authorDavid Galloway <dgallowa@redhat.com>
Fri, 10 Mar 2017 18:57:03 +0000 (13:57 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Fri, 10 Mar 2017 18:57:03 +0000 (13:57 -0500)
This is the first apt transaction that gets run in the common role.

Fixes: http://tracker.ceph.com/issues/15439
Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/common/tasks/kerberos.yml

index f4b8453aec81fa81cd120e1bad601053cb9d9e52..1e5bc6ae42385672f5a08c033144dbc8aff9a0bb 100644 (file)
@@ -7,7 +7,11 @@
     state: present
   when: ansible_os_family == 'RedHat'
 
-- name: Update apt cache.
+# See http://tracker.ceph.com/issues/15439
+- name: Clean apt cache
+  command: apt-get clean
+
+- name: Update apt cache
   apt:
     update_cache: yes
   # Register and retry to work around transient http issues