]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
common: rm yum cache that doesn't get cleaned with `yum clean` 489/head
authorDavid Galloway <dgallowa@redhat.com>
Fri, 15 Nov 2019 17:33:09 +0000 (12:33 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Fri, 15 Nov 2019 17:36:30 +0000 (12:36 -0500)
Why is this even necessary?

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/common/tasks/epel.yml

index a75c97c414ced5d5142b71d9cef2d8e85a9cd4d8..98328170900112d871ac0e409b9799441cdbeb19 100644 (file)
@@ -37,7 +37,7 @@
   with_dict: "{{ epel_repos }}"
 
 - name: Update yum cache
-  shell: yum clean all; yum makecache
+  shell: rm -rf /var/cache/yum/*; yum clean all; yum makecache
 
 - name: Uncomment mirrorlist
   replace: