# Stab at an Suse SLES/openSUSE zypper module

**URL:** <https://forum.ansible.com/t/stab-at-an-suse-sles-opensuse-zypper-module/11655>\
**Category:** Ansible Project\
**Created:** [July 9, 2012, 8:43am UTC](https://forum.ansible.com/t/stab-at-an-suse-sles-opensuse-zypper-module/11655 "2012-07-09T08:43:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpmens1](https://avatars.discourse-cdn.com/v4/letter/j/e9c0ed/32.png) [@jpmens1](https://forum.ansible.com/u/jpmens1)\
**Post date:** [July 9, 2012, 8:43am UTC](https://forum.ansible.com/t/stab-at-an-suse-sles-opensuse-zypper-module/11655/1 "2012-07-09T08:43:08Z")

</div>

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](https://github.com/jpmens/ansible-zypp)

It's primitive but it works here.

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-JP

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [July 9, 2012, 11:27am UTC](https://forum.ansible.com/t/stab-at-an-suse-sles-opensuse-zypper-module/11655/2 "2012-07-09T11:27:12Z")

</div>

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.
