mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
yum: the rpm command requires newline in --qf (#32244)
This commit is contained in:
@@ -347,11 +347,13 @@ def is_group_env_installed(name):
|
||||
return False
|
||||
|
||||
|
||||
def is_installed(module, repoq, pkgspec, conf_file, qf=def_qf, en_repos=None, dis_repos=None, is_pkg=False, installroot='/'):
|
||||
def is_installed(module, repoq, pkgspec, conf_file, qf=None, en_repos=None, dis_repos=None, is_pkg=False, installroot='/'):
|
||||
if en_repos is None:
|
||||
en_repos = []
|
||||
if dis_repos is None:
|
||||
dis_repos = []
|
||||
if qf is None:
|
||||
qf = "%{epoch}:%{name}-%{version}-%{release}.%{arch}\n"
|
||||
|
||||
if not repoq:
|
||||
pkgs = []
|
||||
|
||||
Reference in New Issue
Block a user