mirror of https://github.com/ceph/ceph-ansible.git
Fix purge yum cache
parent
c127df7981
commit
a4d057f555
|
@ -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:
|
||||||
|
|
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue