10 janvier 2017 12:12 "Johannes Kastl" <
ma...@ojkastl.de> 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)