]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Fix purge yum cache 918/head
authorJames Saint-Rossy <james_saintrossy@cable.comcast.com>
Thu, 4 Aug 2016 05:26:59 +0000 (01:26 -0400)
committerJames Saint-Rossy <james_saintrossy@cable.comcast.com>
Thu, 4 Aug 2016 05:26:59 +0000 (01:26 -0400)
purge-cluster.yml
roles/ceph-common/tasks/installs/redhat_ceph_repository.yml

index 499c52f27f14fc9150b6bbb707e7d8e0f34960ed..b2c8c9473d14b8cd604aac9f676f453c08acc750 100644 (file)
     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:
index 927d1d0361fdce086c09ab2a80d901172dacf16d..39080e675da94e586e898869eb6dcd3e5f1c33b6 100644 (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'