FWIW, here's a first attempt at an Ansible module (in bash) which is
able to install/remove packages on SLES & openSUSE.
https://github.com/jpmens/ansible-zypp
It's primitive but it works here.
-JP
FWIW, here's a first attempt at an Ansible module (in bash) which is
able to install/remove packages on SLES & openSUSE.
https://github.com/jpmens/ansible-zypp
It's primitive but it works here.
-JP
Nothing wrong with bash, but if you can start moving that to Python, we can see about getting it included in core.
I'm requiring those modules by Python to make maintaining them easier, and support for zypper seems like something that should be there.
I'm ok if it doesn't have feature parity with the yum/apt ones initially, though it seems like it should support installing a specific version (using the same format as the yum/apt one) if possible.