mirror of
https://github.com/ansible/ansible-documentation.git
synced 2026-03-27 13:28:51 +07:00
Merge pull request #1042 from dhozac/yum-install-rpm
Invoke is_installed correctly from rpm path
This commit is contained in:
@@ -291,7 +291,7 @@ def install(module, items, repoq, yum_basecmd, conf_file):
|
||||
|
||||
nvra = local_nvra(spec)
|
||||
# look for them in the rpmdb
|
||||
if is_installed(repoq, nvra, conf_file):
|
||||
if is_installed(module, repoq, nvra, conf_file):
|
||||
# if they are there, skip it
|
||||
continue
|
||||
pkg = spec
|
||||
|
||||
Reference in New Issue
Block a user