From: David Galloway Date: Fri, 15 Nov 2019 17:33:09 +0000 (-0500) Subject: common: rm yum cache that doesn't get cleaned with `yum clean` X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=946bf1576b56c20e5fec42f15a70d921dd440d00;p=ceph-cm-ansible.git common: rm yum cache that doesn't get cleaned with `yum clean` Why is this even necessary? Signed-off-by: David Galloway --- diff --git a/roles/common/tasks/epel.yml b/roles/common/tasks/epel.yml index a75c97c..9832817 100644 --- a/roles/common/tasks/epel.yml +++ b/roles/common/tasks/epel.yml @@ -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: