Dear all,
does the zypper module combine all calls made with with_items into on
single command like the yum module does? I guess not...
Target Host is a VM with openSUSE Leap 42.1
I want to install rsyslog, which conflicts with systemd-logger (whose
only purpose is to provide an explanation why it conflicts... ;-) ).
So the solution is to install rsyslog and uninstall systemd-logger in
on call. On the cli I would do:
sudo zypper install rsyslog -systemd-logger
I tried to do the same with the zypper module:
> zypper: name="{{
item.name }}" state="{{ item.state }}"
> with_items:
> - name: rsyslog
> state: latest
> - name: systemd-logger
> state: absent
But this shows the error I get when I try to just install rsyslog
manually.
A task calling zypper via shell works:
> shell: zypper in -y rsyslog -systemd-logger
Is this intentional? Did I miss some other way to get the package
installed without the conflict?
Johannes