]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
prep-fog-capture: Disable dnf-makecache service on EL8 557/head
authorDavid Galloway <dgallowa@redhat.com>
Mon, 30 Mar 2020 19:12:29 +0000 (15:12 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Mon, 30 Mar 2020 19:12:29 +0000 (15:12 -0400)
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1814337
Signed-off-by: David Galloway <dgallowa@redhat.com>
tools/prep-fog-capture.yml

index 2308ea72f317186e4380e4c4826b92edfb7bf2c6..b389e85296dc1c6244fad9d21d327bebbe1f0954 100644 (file)
       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/*"