Dear all, the zypper module (and thus the package module) is no longer working on my openSUSE Leap 42.1 / 42.2 or Tumbleweed machines, since zypper does not like being called with --dry-run in check_mode:
fatal: [XXX]: FAILED! => {"changed": false, "cmd": ["/usr/bin/zypper",
"--quiet", "--non-interactive", "--xmlout", "refresh", "--dry-run"],
"failed": true, "msg": "Zypper run command failed with return code
2.", "rc": 2, "stderr": "Unbekannte Option'--dry-run'\n", "stdout":
"<?xml version='1.0'?>\n<stream>\n</stream>\n", "stdout_lines":
["<?xml version='1.0'?>", "<stream>", "</stream>"]}
The same task works without flaws when not in check_mode.
I have tested ansible 2.2 on both a linux and OSX machine with the
same result.
The machines in question have the following versions of *zypp* installed:
#########################################
(openSUSE Leap 42.1) > rpm -qa |grep zypp |sort -n
libzypp-15.23.1-16.1.x86_64
PackageKit-backend-zypp-1.0.7-3.5.x86_64
snapper-zypp-plugin-0.2.9.1-3.1.noarch
zypper-1.12.45-16.1.x86_64
zypper-aptitude-1.12.45-16.1.noarch
zypper-log-1.12.45-16.1.noarch
zypp-plugin-python-0.5-4.2.x86_64
#########################################
(openSUSE Leap 42.2) > rpm -qa |grep zypp |sort -n
libzypp-16.3.2-3.1.x86_64
PackageKit-backend-zypp-1.1.3-2.3.x86_64
snapper-zypp-plugin-0.3.3-2.2.noarch
zypper-1.13.14-3.1.x86_64
zypper-aptitude-1.13.14-3.1.noarch
zypper-log-1.13.14-3.1.noarch
zypp-plugin-python-0.5-5.3.x86_64
#########################################
Anyone else having this? I guess this is worth a bug report, so I'll
be off searching for the correct place (if the module authors do not
read this mail by chance...).
Johannes
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/e52e56c6-ab2e-7755-509d-afb8639f4814%40ojkastl.de.
For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
