Hi Werner, On 30.05.16 11:21 Werner Flamme wrote:
> when I look at the Python code, I guess that it is not interpreted as > one command due to the "present" for one item and the "absent" for the > other. I think this splits the call of zypper into one "zypper in" and > one "zypper rm" call. This will fail due to the dependencies. > > Can you try > - name: "-systemd-logger" > state: present > in your playbook? I will try this, yes. > Btw, internally the module uses "/usr/bin/zypper --non-interactive", > there is no need for "-y" on the command line if you use that ;) If you mean in the shell-task? There it is needed, otherwise the command hangs while asking for confirmation. Then module of course does not require any "-y" or similar. 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/574C3547.60002%40ojkastl.de. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
