Add dnf support

This patch adds dnf support for CentOS.

Implements: blueprint centos-and-dnf
Change-Id: I8114ce7105ba252539c71c0b7fe1ddf73a672d29
This commit is contained in:
Major Hayden 2017-08-02 14:03:44 -05:00 committed by Kevin Carter (cloudnull)
parent 4bd2bea7ec
commit 76bdb799bf

View File

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