]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
testnode: ensure yum-utils is present before yum-complete-transaction 85/head
authorAndrew Schoen <aschoen@redhat.com>
Fri, 17 Jul 2015 16:22:34 +0000 (11:22 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Fri, 17 Jul 2015 16:22:34 +0000 (11:22 -0500)
This isn't there on centos 7 causing the yum-complete-transaction task
to fail.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
roles/testnode/tasks/yum/packages.yml

index 10049fe022d4f730228d0b75054ec530cfd69e0f..33161c8fe4bf6b072610e232bb3ba86c520505f2 100644 (file)
@@ -1,4 +1,10 @@
 ---
+# this is needed for the yum-complete-transation command next
+- name: Ensure yum_utils is present.
+  yum:
+    name: yum-utils
+    state: present
+
 - name: Removing saved yum transactions
   command: yum-complete-transaction --cleanup-only
   register: transaction_cleanup