Add dnf support

This patch adds dnf support for CentOS.

Implements: blueprint centos-and-dnf
Change-Id: I80884c5f59227a5597da3e3112d34deefee09396
This commit is contained in:
Major Hayden 2017-08-02 13:48:11 -05:00
parent c4a6ef3db8
commit dea0d5d496
No known key found for this signature in database
GPG Key ID: 737051E0C1011FB1

View File

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