From 946bf1576b56c20e5fec42f15a70d921dd440d00 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Fri, 15 Nov 2019 12:33:09 -0500 Subject: [PATCH] common: rm yum cache that doesn't get cleaned with `yum clean` Why is this even necessary? Signed-off-by: David Galloway --- roles/common/tasks/epel.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.5