1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

zypper: (Bugfix) Change command option --verbose to --details which is supported since 2008 (#2224)

This commit is contained in:
Alex 2016-05-19 08:21:33 +02:00 committed by Matt Clay
parent 9064aecaed
commit e031f37407

View file

@ -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]