Add dnf support

This patch adds dnf support in CentOS.

Implements: blueprint centos-and-dnf
Change-Id: Ib5f51287f670e95ae69ce662f1a774d3b313774a
This commit is contained in:
Major Hayden 2017-08-02 14:01:45 -05:00
parent aac8cd3aa2
commit 8847b9d65f
No known key found for this signature in database
GPG Key ID: 737051E0C1011FB1
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@
path: "{{ gnocchi_bin | dirname }}/bin/python2.7"
state: "absent"
when:
- ansible_pkg_mgr == 'yum'
- ansible_pkg_mgr in ['yum', 'dnf']
- gnocchi_get_venv | changed
- name: Update virtualenv path