mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-05 18:23:09 +00:00
zypper: (Bugfix) Change command option --verbose to --details which is supported since 2008 (#2224)
This commit is contained in:
@@ -140,7 +140,7 @@ def get_installed_state(m, packages):
|
||||
"get installed state of packages"
|
||||
|
||||
cmd = get_cmd(m, 'search')
|
||||
cmd.extend(['--match-exact', '--verbose', '--installed-only'])
|
||||
cmd.extend(['--match-exact', '--details', '--installed-only'])
|
||||
cmd.extend(packages)
|
||||
return parse_zypper_xml(m, cmd, fail_not_found=False)[0]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user