mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Invoke is_installed correctly from rpm path
This commit is contained in:
parent
e7eab93243
commit
56b1a8ceed
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ def install(module, items, repoq, yum_basecmd, conf_file):
|
||||||
|
|
||||||
nvra = local_nvra(spec)
|
nvra = local_nvra(spec)
|
||||||
# look for them in the rpmdb
|
# 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
|
# if they are there, skip it
|
||||||
continue
|
continue
|
||||||
pkg = spec
|
pkg = spec
|
||||||
|
|
Loading…
Reference in a new issue