From e031f374071f74fdfb1abe85624b4bb4e243d895 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 19 May 2016 08:21:33 +0200 Subject: [PATCH] zypper: (Bugfix) Change command option --verbose to --details which is supported since 2008 (#2224) --- lib/ansible/modules/extras/packaging/os/zypper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/packaging/os/zypper.py b/lib/ansible/modules/extras/packaging/os/zypper.py index 30d69aa03d8..f90b4c250da 100644 --- a/lib/ansible/modules/extras/packaging/os/zypper.py +++ b/lib/ansible/modules/extras/packaging/os/zypper.py @@ -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]