From 037b9fe9033d1da0b3511d904cb2d4ab685067ea Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Wed, 2 Aug 2017 13:41:23 -0500 Subject: [PATCH] Add dnf support This patch adds dnf support for CentOS. Implements: blueprint centos-and-dnf Change-Id: I468cf92eb4ffe4ab408695d77beebd157df3d0b8 --- tasks/cinder_install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/cinder_install.yml b/tasks/cinder_install.yml index 11213708..0be11b54 100644 --- a/tasks/cinder_install.yml +++ b/tasks/cinder_install.yml @@ -104,7 +104,7 @@ path: "{{ cinder_bin | dirname }}/bin/python2.7" state: "absent" when: - - ansible_pkg_mgr == 'yum' + - ansible_pkg_mgr in ['yum', 'dnf'] - cinder_get_venv | changed - name: Update virtualenv path