From 50d8b390d17aa7e2daad12648f5424e11f6cdfbe Mon Sep 17 00:00:00 2001 From: Martin Krizek Date: Wed, 13 Sep 2017 17:02:15 +0200 Subject: [PATCH] yum: revert incorrect change from 0bbd5c74585abbf2 --- lib/ansible/modules/packaging/os/yum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/packaging/os/yum.py b/lib/ansible/modules/packaging/os/yum.py index 94b4daea67c..f24783f2d13 100644 --- a/lib/ansible/modules/packaging/os/yum.py +++ b/lib/ansible/modules/packaging/os/yum.py @@ -748,7 +748,7 @@ def install(module, items, repoq, yum_basecmd, conf_file, en_repos, dis_repos, i elif '://' in spec: # download package so that we can check if it's already installed package = fetch_rpm_from_url(spec, module=module) - envra = local_envra(package) + envra = local_envra(module, package) if is_installed(module, repoq, envra, conf_file, en_repos=en_repos, dis_repos=dis_repos, installroot=installroot): # if it's there, skip it continue