From 714959cf5ff12d8e246d248de76122c7c7ec47e8 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Mon, 30 Mar 2020 15:12:29 -0400 Subject: [PATCH] prep-fog-capture: Disable dnf-makecache service on EL8 Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1814337 Signed-off-by: David Galloway --- tools/prep-fog-capture.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tools/prep-fog-capture.yml b/tools/prep-fog-capture.yml index 2308ea72..b389e852 100644 --- a/tools/prep-fog-capture.yml +++ b/tools/prep-fog-capture.yml @@ -88,6 +88,16 @@ state: absent when: ansible_distribution == "RedHat" + # https://bugzilla.redhat.com/show_bug.cgi?id=1814337 + - name: Disable dnf-makecache service + service: + name: dnf-makecache.timer + state: stopped + enabled: no + when: + - ansible_os_family == "RedHat" + - ansible_distribution_major_version|int >= 8 + # Hopefully fixes https://github.com/ceph/ceph-cm-ansible/pull/544#issuecomment-599076564 - name: Clean DNF cache shell: "dnf clean all && rm -rf /var/cache/dnf/*" -- 2.47.3