]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
Remove saved yum transactions 65/head
authorZack Cerza <zack@redhat.com>
Mon, 6 Jul 2015 23:53:05 +0000 (17:53 -0600)
committerZack Cerza <zack@redhat.com>
Mon, 6 Jul 2015 23:53:05 +0000 (17:53 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
roles/testnode/tasks/yum/packages.yml

index 891b452bad4ff2a4d187c56796482d3a7d3b72b5..10049fe022d4f730228d0b75054ec530cfd69e0f 100644 (file)
@@ -1,4 +1,9 @@
 ---
+- name: Removing saved yum transactions
+  command: yum-complete-transaction --cleanup-only
+  register: transaction_cleanup
+  changed_when: "'Cleaning up' in transaction_cleanup.stdout"
+
 - name: Check if ceph-debuginfo is installed
   command: rpm -q ceph-debuginfo
   ignore_errors: yes