install python-dnf on F22+

This commit is contained in:
Miroslav Suchý 2015-11-30 08:07:23 +01:00
parent c9e9a21cf3
commit b1c890974c

View file

@ -28,6 +28,13 @@
- base
when: ansible_distribution_major_version|int < 22
- name: install python-dnf
yum: state=present name=python-dnf
tags:
- packages
- base
when: ansible_distribution_major_version|int > 21 and ansible_cmdline.ostree is not defined
- name: global default packages to install (dnf)
dnf: state=present name={{ item }}
with_items: