From: David Galloway Date: Mon, 30 Mar 2020 19:12:29 +0000 (-0400) Subject: prep-fog-capture: Disable dnf-makecache service on EL8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=714959cf5ff12d8e246d248de76122c7c7ec47e8;p=ceph-cm-ansible.git prep-fog-capture: Disable dnf-makecache service on EL8 Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1814337 Signed-off-by: David Galloway --- 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/*"