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 - rdiff-backup
- tmpwatch - tmpwatch
# BZ 1241507 - name: install copr-dist-git
- name: upgrade copr-dist-git dnf: state=latest name={{ item }}
shell: yum-deprecated install -y copr-dist-git || yum install -y copr-dist-git with_items:
- copr-dist-git
- name: switch selinux to permissive - name: switch selinux to permissive
selinux: policy=targeted state=permissive selinux: policy=targeted state=permissive