Fix purge yum cache

pull/918/head
James Saint-Rossy 2016-08-04 01:26:59 -04:00
parent c127df7981
commit a4d057f555
2 changed files with 6 additions and 5 deletions

View File

@ -426,11 +426,6 @@
notify: notify:
- remove data - remove data
- name: purge yum cache
command: yum clean all
when:
ansible_pkg_mgr == 'yum'
- name: purge dnf cache - name: purge dnf cache
command: dnf clean all command: dnf clean all
when: when:

View File

@ -50,3 +50,9 @@
owner: root owner: root
group: root group: root
when: ceph_custom when: ceph_custom
# Remove yum caches so yum doesn't get confused if we are reinstalling a different ceph version
- name: purge yum cache
command: yum clean all
when:
ansible_pkg_mgr == 'yum'