10 janvier 2017 12:12 "Johannes Kastl" <[email protected]> a écrit:
> 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>"]}

Because some part of your error is in German... At a guess, perhaps you should 
try to
set these variables to ansible.cfg, it saved my life with some other modules 
(I'm french and some server are in Frenche)

module_lang    = C
module_set_locale = True

If it solved your problem, you should open a bug report

Regards,

JYL

-- 
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/16496ffd9d15e9686120c36d44c34923%40wwws.lenhof.eu.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to