From: Andrew Schoen Date: Fri, 17 Jul 2015 16:22:34 +0000 (-0500) Subject: testnode: ensure yum-utils is present before yum-complete-transaction X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=1a1ad27810f6bce5449f2c482ebf7317f8565577;p=ceph-cm-ansible.git testnode: ensure yum-utils is present before yum-complete-transaction This isn't there on centos 7 causing the yum-complete-transaction task to fail. Signed-off-by: Andrew Schoen --- diff --git a/roles/testnode/tasks/yum/packages.yml b/roles/testnode/tasks/yum/packages.yml index 10049fe..33161c8 100644 --- a/roles/testnode/tasks/yum/packages.yml +++ b/roles/testnode/tasks/yum/packages.yml @@ -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