mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-24 06:51:44 -07:00
zypper: (Bugfix) Change command option --verbose to --details which is supported since 2008 (#2224)
This commit is contained in:
parent
9064aecaed
commit
e031f37407
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue