mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +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"
|
"get installed state of packages"
|
||||||
|
|
||||||
cmd = get_cmd(m, 'search')
|
cmd = get_cmd(m, 'search')
|
||||||
cmd.extend(['--match-exact', '--verbose', '--installed-only'])
|
cmd.extend(['--match-exact', '--details', '--installed-only'])
|
||||||
cmd.extend(packages)
|
cmd.extend(packages)
|
||||||
return parse_zypper_xml(m, cmd, fail_not_found=False)[0]
|
return parse_zypper_xml(m, cmd, fail_not_found=False)[0]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user