From f92cf56dff12deff1d4fa2dbbb723794e5052000 Mon Sep 17 00:00:00 2001 From: clime Date: Thu, 19 Jan 2017 16:13:31 +0100 Subject: [PATCH] copr-dist-git: use dnf ansible module instead of yum --- roles/copr/dist_git/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/copr/dist_git/tasks/main.yml b/roles/copr/dist_git/tasks/main.yml index 3d01ae4892..05dd46874e 100644 --- a/roles/copr/dist_git/tasks/main.yml +++ b/roles/copr/dist_git/tasks/main.yml @@ -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