Skip to content

Commit

Permalink
prep-fog-capture: Clean yum cache
Browse files Browse the repository at this point in the history
Hopefully fixes: #544 (comment)

Signed-off-by: David Galloway <[email protected]>
  • Loading branch information
David Galloway committed Mar 16, 2020
1 parent 78f1213 commit 4de5c5b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tools/prep-fog-capture.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@
state: absent
when: ansible_distribution == "RedHat"

# 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/*"
when:
- ansible_os_family == "RedHat"
- ansible_distribution_major_version|int >= 8

- set_fact:
ntp_service: ntp
when: ansible_os_family == "Debian"
Expand Down

0 comments on commit 4de5c5b

Please sign in to comment.