copr-dist-git: use dnf ansible plugin instead of yum-deprecated shell command
This commit is contained in:
parent
d3a7276de4
commit
48cf5488e0
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue