install python-dnf on F22+
This commit is contained in:
parent
c9e9a21cf3
commit
b1c890974c
1 changed files with 7 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue