mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-01 01:41:13 +08:00
copr-dist-git: use dnf ansible module instead of yum
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#- copy: src="dist-git-epel-7.repo" dest="/etc/yum.repos.d/"
|
||||
|
||||
- name: install packages
|
||||
yum: state=present name={{ item }}
|
||||
dnf: state=present name={{ item }}
|
||||
with_items:
|
||||
#- epel-release
|
||||
- cgit
|
||||
@@ -28,7 +28,7 @@
|
||||
# - file: path="/var/lib/dist-git/git/rpms/" state=directory group=packager
|
||||
|
||||
- name: install packages which should be added as requirements
|
||||
yum: state=present name={{ item }}
|
||||
dnf: state=present name={{ item }}
|
||||
with_items:
|
||||
- pyrpkg
|
||||
|
||||
|
||||
Reference in New Issue
Block a user