copr-dist-git: use dnf ansible plugin instead of yum-deprecated shell command

This commit is contained in:
clime 2017-01-19 16:11:50 +01:00
parent d3a7276de4
commit 48cf5488e0

View file

@ -14,9 +14,10 @@
- rdiff-backup
- tmpwatch
# BZ 1241507
- name: upgrade copr-dist-git
shell: yum-deprecated install -y copr-dist-git || yum install -y copr-dist-git
- name: install copr-dist-git
dnf: state=latest name={{ item }}
with_items:
- copr-dist-git
- name: switch selinux to permissive
selinux: policy=targeted state=permissive