From: Alfredo Deza Date: Thu, 2 Jun 2016 15:05:07 +0000 (-0400) Subject: ceph-common: fix use of dnf only when package manager is 'dnf' not 'yum' X-Git-Tag: ceph-ansible-1.0.5-33~22 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5deca6f3a8ac0f06d376d96cc80f515bae2907e7;p=ceph-ansible.git ceph-common: fix use of dnf only when package manager is 'dnf' not 'yum' Signed-off-by: Alfredo Deza Resolves: rhbz#1342051 --- diff --git a/roles/ceph-common/tasks/installs/install_on_redhat.yml b/roles/ceph-common/tasks/installs/install_on_redhat.yml index e35bf9b4d..eba46c031 100644 --- a/roles/ceph-common/tasks/installs/install_on_redhat.yml +++ b/roles/ceph-common/tasks/installs/install_on_redhat.yml @@ -61,7 +61,7 @@ (ceph_origin == "distro" or (ceph_stable and ceph_stable_release not in ceph_stable_rel_pkg)) and mon_group_name in group_names and - ansible_pkg_mgr == "yum" + ansible_pkg_mgr == "dnf" - name: install distro or red hat storage ceph osd yum: