From 5deca6f3a8ac0f06d376d96cc80f515bae2907e7 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Thu, 2 Jun 2016 11:05:07 -0400 Subject: [PATCH] ceph-common: fix use of dnf only when package manager is 'dnf' not 'yum' Signed-off-by: Alfredo Deza Resolves: rhbz#1342051 --- roles/ceph-common/tasks/installs/install_on_redhat.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.47.3