Merge pull request #918 from jsaintrocc/yum-clean-fix

Fix purge yum cache
pull/920/head
Leseb 2016-08-08 09:58:17 +02:00 committed by GitHub
commit b14f5953c7
2 changed files with 6 additions and 5 deletions

View File

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

View File

@ -50,3 +50,9 @@
owner: root
group: root
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'